Jdsflash Posted December 14, 2009 Share Posted December 14, 2009 How would I format this line of code properly? <?php echo urldecode($_GET['Title']); ?> Link to comment https://forums.phpfreaks.com/topic/185029-urldecode-question/ Share on other sites More sharing options...
Buddski Posted December 14, 2009 Share Posted December 14, 2009 What exactly do you mean by 'format'? that code looks fine as long as you have a Title variable in your URL... Link to comment https://forums.phpfreaks.com/topic/185029-urldecode-question/#findComment-976693 Share on other sites More sharing options...
Jdsflash Posted December 14, 2009 Author Share Posted December 14, 2009 ok maybe im passing the dat wrong heres the url string http://www.getgooglegadgets.com/page.php?ID=http://www.flashmajic.com/Google/Mario/web.xml$Title=Free%20Online%20Mario%20Bros Am i passing the data wrong? I need to decode the %20 in the url string Link to comment https://forums.phpfreaks.com/topic/185029-urldecode-question/#findComment-976695 Share on other sites More sharing options...
Buddski Posted December 14, 2009 Share Posted December 14, 2009 Ok I see.. try this.. http://www.getgooglegadgets.com/page.php?ID=http://www.flashmajic.com/Google/Mario/web.xml&Title=Free%20Online%20Mario%20Bros Notice I changed the $ to an & symbol.. Link to comment https://forums.phpfreaks.com/topic/185029-urldecode-question/#findComment-976697 Share on other sites More sharing options...
Jdsflash Posted December 14, 2009 Author Share Posted December 14, 2009 oh boy Doh! Thanks have a happy holidays Link to comment https://forums.phpfreaks.com/topic/185029-urldecode-question/#findComment-976711 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.