yourking Posted March 26, 2009 Share Posted March 26, 2009 Hi, i wonder if its possible to get the first id from a header? I want the first id after ?story&id=. ?story&id=2&comments&id=2&good&id=1 Link to comment https://forums.phpfreaks.com/topic/151212-get-header-information/ Share on other sites More sharing options...
unska Posted March 26, 2009 Share Posted March 26, 2009 You can't have two different IDs on the $_GET. You have to turn the first ID to some like theid and you can return it's value with the following code: echo $_GET['theid']; Link to comment https://forums.phpfreaks.com/topic/151212-get-header-information/#findComment-794316 Share on other sites More sharing options...
yourking Posted March 26, 2009 Author Share Posted March 26, 2009 Okey, thanks ill change the id code to something else Link to comment https://forums.phpfreaks.com/topic/151212-get-header-information/#findComment-794317 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.