> I know this have been covered before but I can't find it in > my thousands of emails... How would I URL Encode the following... > I am retrieving a variable like <? echo "$SearchCity"; ?> but > for example if it is Hilton Head Island I need it to add the > + signs as Hilton+Head+Island so Netscape won't crash. Funny enough, the function you are looking for is: urlencode(); The docs are your friend. Chris
- [PHP] URL Encode David Smith
- RE: [PHP] URL Encode PHPBeginner.com
- Boget, Chris