Forum Moderators: coopster
Thanks for the quick reply. I was annoyed and already went ahead and wrote a write around for it.
The code I was using was something like:
array_pop($_POST);
$x = 0;
while ($x < sizeof($_POST)):
list($key,$value) = each($_POST);
echo "Key: $key, Value: $value <br />";
$x++;
endwhile;
The output I was getting was:
Key, Value
Key, Value
Key, Value
etc.
When I removed the array_pop line, the while loop displayed all the values correctly. I just needed to dump the submit and hidden values so I didn't bother outputting the popped value into a variable.
Chris