JustinK101 Posted June 4, 2011 Share Posted June 4, 2011 I am trying to reference the first element in the $_GET array, but it is being a pest, and saying Undefined offset: 0. Basically, I don't know the key, its dynamic. So: http://www.mydomain.com/mypage.php?dynamickey=somevalue I should be able to reference $_GET[0] correct? Link to comment https://forums.phpfreaks.com/topic/238365-reference-elements-in-_get-by-index/ Share on other sites More sharing options...
trq Posted June 4, 2011 Share Posted June 4, 2011 I should be able to reference $_GET[0] correct? No, there is no 0 index. How exactly can you not know the index? Link to comment https://forums.phpfreaks.com/topic/238365-reference-elements-in-_get-by-index/#findComment-1224993 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.