Posted by IWT on 11/10/05 13:59
Jørn Dahl-Stamnes wrote:
> I got the following code:
>
> reset ($_POST);
> while (list($key,$val) = each($_POST))
> {
> echo "$key => $val\n";
> }
>
> But this prints out nothing. If I replace the code above with:
>
>
> print_r ($_POST);
>
> I can see the content of the $_POST array. Why?
Try this:
foreach($_POST as $key => $value)
echo $key."=".$value;
[Back to original message]
|