Mateobus Posted August 23, 2006 Share Posted August 23, 2006 Suppose that you were passing dynamic company names via the $_GET array. Is there a function you can apply to the string to avoid potential errors because of the & sign in a string, for example:site.com?company=Dellandsite.com?company=Fujitsuwould be fine, butsite.com?company=AT&T wouldn't work. Link to comment https://forums.phpfreaks.com/topic/18428-passing-strings-in-the-url/ Share on other sites More sharing options...
trq Posted August 23, 2006 Share Posted August 23, 2006 [url=http://php.net/urlencode]urlencode[/url](). Link to comment https://forums.phpfreaks.com/topic/18428-passing-strings-in-the-url/#findComment-79224 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.