Re: Newbie problem with POST vars

From: Date: Thu, 13 Jun 2002 13:34:17 +0000
Subject: Re: Newbie problem with POST vars
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-101952@lists.php.net to get a copy of this message
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.

« previous php.general (#101952) next »