Hmm still doing the same sorta thing.
I have this code
$Title = stripslashes($Title);
$Summary = stripslashes($Summary);
$Full = stripslashes($Full);
$Title = htmlspecialchars($Title);
$Full = htmlspecialchars($Full);
Print "<b><font color=\"#FF0000\" size=1>New Item</font><br>";
Print "<b><font color=\"#FF9900\" size=3>".$Title."</font></b><br>";
//$Title = str_replace(" ","%20",$Title);
//$Full = str_replace(" ","%20",$Full);
$Title = urlencode($Title);
$Full = urlencode($Full);
Print "<a href = \"previewfullnews.php?Title=$Title&Full=$Full\"><font color=\"#FFCC66\" size=2>".$Summary."...</font></a><br><br>";
When i click the link it takes me to previewfullnews.php and passes this information thru the URL(ofcourse its diferent depending on what is inside the variable).
http://www.website.com/new/admin/news/previewfullnews.php?Title=News+Title&Full=News+Full+Article%26lt%3Bbr%26gt%3BTest%26lt%3Bbr%26gt%3BTest
Then on the next page i use urldecode to decode the the url. Heres the code for that page
$Title = stripslashes($Title);
$Full = stripslashes($Full);
$Title = htmlspecialchars(urldecode($Title));
$Full = htmlspecialchars(urldecode($Full));
Print "<b><font color=\"#FF9900\" size=3>".$Title."</font><br>";
Print "<font color=\"#FFCC66\" size=2>".$Full."</font><br><br>";
But the end result ends up looking like this
News Full Article<br>Test<br>Test
What am i doing wrong?
Thanks!😃