If you do this, it should work
function foo()
{
global $_POST;
reset($_POST);
foreach($_POST as $item => $value){
echo "$item, $value<br>";
}
}
Thats work for me.
> I've tried this, but it's still doing the same thing. Is there something
> special about this particular variable that I need to know? I've tried it
> with $HTTP_POST_VARS as well, declaring $HTTP_POST_VARS as global in the
> function first.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php