hi,
If a variable has a space like this:
$name = Tom Jones
how can I get it to run this:
header("Location: namepage.php?name=$name");
without it using %20 for the space?

if that isnt possible, how do i correct this? In the mysql database it shows up as tom jones.

thanks alot

    I guess my question in, now that I have name=tom%20jones in the url, how do I echo it on the page with a space instead of a %20?

    Thanks again.

      Take a look in the manual at [man]urlencode[/man] and [man]urldecode[/man].

        Write a Reply...