Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    c q
    c q is offline
    Regular Coder
    Join Date
    Jun 2002
    Location
    Mumbai, India
    Posts
    173
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how can I insert a quote in my query string ?

    heyy !
    suppose I have a script that runs like this,
    <a href="some.php?a=cq's problem">click to laugh at cq's problem</a>
    and say I want show that variable $a as my heading in the next page. my output is something like
    cq\'s problem.
    weird, no ? how can I get the output as
    cq's problem
    yea thats what my problem is
    It's a new world. It's a new day.
    www.nehasaxena.com : : www.kohimaorphanage.org

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    UK
    Posts
    577
    Thanks
    0
    Thanked 0 Times in 0 Posts
    echo stripslashes($a);
    Íkii - formerly pootergeist
    teckis - take your time and it'll save you time.

  • #3
    c q
    c q is offline
    Regular Coder
    Join Date
    Jun 2002
    Location
    Mumbai, India
    Posts
    173
    Thanks
    0
    Thanked 0 Times in 0 Posts
    cool, I neva knew about that one.
    Thanks pooter !


  •  

    Posting Permissions

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