jamesxg1 Posted April 5, 2010 Share Posted April 5, 2010 Hiya peeps! I was wondering how I would strip $_SERVER['QUERY_STRING'] for the value of the parameter, forumid Does anyone know a way? It would be much appreciated. Many thanks, James. Link to comment https://forums.phpfreaks.com/topic/197635-how-do-i-strip-a-query_string-for-a-value/ Share on other sites More sharing options...
premiso Posted April 5, 2010 Share Posted April 5, 2010 echo $_GET['forumid']; Or simply parse_str if you just have the raw data. Link to comment https://forums.phpfreaks.com/topic/197635-how-do-i-strip-a-query_string-for-a-value/#findComment-1037247 Share on other sites More sharing options...
jamesxg1 Posted April 5, 2010 Author Share Posted April 5, 2010 Hiya bud, Thanks for the reply, I would but its pretty complicated LOL! But that parse_str() worked a charm thanks mate! Many thanks James Link to comment https://forums.phpfreaks.com/topic/197635-how-do-i-strip-a-query_string-for-a-value/#findComment-1037249 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.