How to get value from array $_GET ?
How to get value "ShutteR19" from this array?
Array ( [subaction] => userinfo [user] => ShutteR19 )
$_GET is an array like $_POST and this is a value from the Query string.
So refering to the entity by its array name will return its value.
$_GET['item'] returns 14
$_GET['bay'] returns 149
$_GET['box'] returns 3
... and please remember to wrap code with forum BBCode tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
PS - If you're posting here you should be using:
at the top of ALL php code while you develop it!
And if outputting to the browser, you might find this makes it a bit clearer, especially if you get into multi-dimensional arrays:
echo "<pre>".print_r($_GET, true)."</pre>";
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)