passing variable data containing + or %20
Posted: Fri Mar 14, 2008 3:19 am
Hi, I have one script which passes on a variable to another page, but it won't pass the plus sign on, even if I write it as %20.
My retrieving page
Is there any way to pass this + sign on? 
Code: Select all
$text_input = "black+eyed";
print "
<a href=\"zoog10.php?my_variable=$text_input\">GO!</a>
";
Code: Select all
$num = $_GET['my_variable'];