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. Quote Link to comment Share on other sites More sharing options...
trq Posted August 23, 2006 Share Posted August 23, 2006 [url=http://php.net/urlencode]urlencode[/url](). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.