Piet from South Africa wrote:
>i have the following problem. > >when i href like this > > <a href="nextpage.php?name=$name"> > >and the name contains a & sign, it does not post it to the next page. > >if the name is bed&breakfast it stops at bed. > > Because '&' is a special character in URL, you need to escape it by urlencode it first before pass it, i.e. $encodename = urlencode($name); <a href="nextpage.php?name=$encodename"> Best Bao >Can anyone tell me how to do this. > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php