Posted by <talthen.z-serwera.o2 on 07/31/05 18:42
Hello,
I want to write smth that works like:
foreach ($_REQUEST AS $key=>$val) echo "$key : $ val";
But it have to start from 1st element of $_REQUEST, not from 0 (like foreach
does).
I tried smth like:
for ($i=1; $i<count($_REQUEST);$i+2)
{
$key=$_REQUEST[$i];
$val=$_REQUEST[$i+1];
but it doesn't seem to work. How to solve it?
Regards,
Talthen
[Back to original message]
|