Re: [PHP] Urlencode vs htmlentities

2005-12-06 Thread Curt Zirzow
On Tue, Dec 06, 2005 at 12:05:10PM -0800, Mark Steudel wrote: > Lets say I have the following: Before I go further: htmlentities - escapes the output for html urlencode- escapes the output for a url > > Current URL: http://www.domain.com/page.php?action=list >

Re: [PHP] Urlencode vs htmlentities

2005-12-06 Thread comex
> Should I use htmlentites on $top first? AFAIK, all of what you said is correct except for that, where you should use htmlentities(urlencode($top)). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php