Results 1 to 2 of 2

Thread: a stupid problem with apostrophies..

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2002
    Location
    Dallas, Texas
    Posts
    62

    a stupid problem with apostrophies..

    i wrote a few programs that involve saving text and printing it on the screen later but everytime the user puts in an ' it puts a \ before it.. whats up with this and is there anyway to fix it?

    print "this is what's wrong";
    output: this is what\'s wrong

    thanks in advance
    oOBlackOrbOo

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    use the stripslashes() function.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width