Jump to content

Reference Elements In $_GET By Index


JustinK101

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.