Re: How to loop the HTTP_POST_VARS array?

From: Date: Mon, 21 May 2001 03:57:28 +0000
Subject: Re: How to loop the HTTP_POST_VARS array?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53665@lists.php.net to get a copy of this message
foreach($HTTP_POST_VARS as $key => $val) { echo "$key: $val<br>\n"; } On Mon, 21 May 2001, Carlos Fernando Scheidecker Antunes wrote: > 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. >

« previous php.general (#53665) next »