How to loop the HTTP_POST_VARS array?
| From: | Carlos Fernando Scheidecker Antunes | Date: | Mon, 21 May 2001 03:43:10 +0000 |
| Subject: | How to loop the HTTP_POST_VARS array? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-53660@lists.php.net to get a copy of this message | ||
Oops. I've got a typo : $itens[]
Here's the correct code :
Hello all,
I'm trying to loop the $HTTP_POST_VARS variable like an array like this :
$index = count($HTTP_POST_VARS);
for($i=0; i < $index; i++) {
$itens[] = $HTTP_POST_VARS[$i];
}
But it is not working.
Can anoyone tell me how to do it?
Thanks,
Carlos Fernando.