Hi to all!
Sorry me if I do this question again but I can't find the solution.
Here is the problem:
I'm trying to put the value of a variable in an HTML form with PHP code. The variable is a string containing %20 instead of a SPACE.
My url is:
www.myweb.com/myfile.php/myvar=a%20b%20c
I use this code to put the var in the form:
<? echo "<input type=\"text\" name=\"var\" size=\"10\" value=\"".$myvar."\">";?>
But in my form I see only:
a
instead of
a b c
I've tried with this functions: ereg_replace, eregi_replace, rawurldecode, rawurluncode but I had no success.
Any idea?
Thanks a lot! _
Dan