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. Quote 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. Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.