|
Posted by Jensen Somers on 03/17/07 14:02
On Sat, 17 Mar 2007 06:52:32 -0700, jodleren wrote:
> Just wondering...
>
> would it be possible to read this out:
>
> test.php?444
> test.php?test=444
>
> the latter one is correct, but how can I read out a string with no
> name?
>
> /S
Something like this:
<?php
foreach ($_GET as $key => $val) {
echo $key;
}
?>
If you just provide ?444 it will take the 444 as the key with an empty
value.
Regards,
Jensen
Navigation:
[Reply to this message]
|