Gayner Posted October 9, 2009 Share Posted October 9, 2009 index.php?act=Friends&i=25 I want to grab the i="NUMBERHERE" this is my code. $global = $_GET["c"]; switch ($global) { case "i": Link to comment https://forums.phpfreaks.com/topic/177127-solved-how-do-i-grab-this-indexphpactfriendsi25/ Share on other sites More sharing options...
kickstart Posted October 9, 2009 Share Posted October 9, 2009 Hi Am I missing something. Why can't you just access $_GET['i']? Or if you want to see what is passed in then loop through them:- foreach($_GET AS $field=>$value) echo "$field $value <br />"; All the best Keith Link to comment https://forums.phpfreaks.com/topic/177127-solved-how-do-i-grab-this-indexphpactfriendsi25/#findComment-933938 Share on other sites More sharing options...
Gayner Posted October 9, 2009 Author Share Posted October 9, 2009 oh so $_GEt alrdy does ="numberhere"? that's tight thx Link to comment https://forums.phpfreaks.com/topic/177127-solved-how-do-i-grab-this-indexphpactfriendsi25/#findComment-933946 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.