Hello,
I am having an issue with an echo statement.
I am passing a string with $_GET and attempting to print it with echo. The issue is the content in the $
the url which is sending the information is
[code=php]
http://www.realitytvaddict.com/read_post.php?tid=35&name=The%20Kardashians&subject=Kim%20&%20Kanye!%20Will%20it%20last?#1677
[B]I have tried just echoing the $_GET[‘subject’]. I have also tried running it through htmlspecialchars(). I have also tried replacing the & with regrex but nothing seems to work.
Whenever I print out the variable it is turned from “Kim & Kanye! Will it last?” into “Kim”
Can anyone figure out why it is doing this?