Re: & sign not posted to next page

From: Date: Fri, 20 Feb 2004 13:26:18 +0000
Subject: Re: & sign not posted to next page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-178338@lists.php.net to get a copy of this message
Use the urlencode() function. http://www.php.net/manual/en/function.urlencode.php 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. Can anyone tell me how to do this.


« previous php.general (#178338) next »