aQ Posted May 17, 2007 Share Posted May 17, 2007 Hello! I think this have been answered before, but I really don't know what to search for. I am making a messaging system now, and when you reply to people, the url becomes something like this "index.php?page=pm&to=The user to message&subject=blabla..." When the user has a name with spaces like for example "George Bush", php splits his name, and the only thing what will be shown is "George". Does anyone know how I can fix this? Quote Link to comment https://forums.phpfreaks.com/topic/51835-solved-spaces-in-_get/ Share on other sites More sharing options...
trq Posted May 17, 2007 Share Posted May 17, 2007 Take a look at urlencode and its related functions. Urls may not contian spaces. Quote Link to comment https://forums.phpfreaks.com/topic/51835-solved-spaces-in-_get/#findComment-255439 Share on other sites More sharing options...
aQ Posted May 17, 2007 Author Share Posted May 17, 2007 Ok, thanks! Quote Link to comment https://forums.phpfreaks.com/topic/51835-solved-spaces-in-_get/#findComment-255455 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.