Re: [PHP] How to loop the HTTP_POST_VARS array?

2001-05-21 Thread Carlos Fernando Scheidecker Antunes
- Original Message - From: "Maxim Maletsky" <[EMAIL PROTECTED]> To: "'Carlos Fernando Scheidecker Antunes'" <[EMAIL PROTECTED]>; "PHP-GENERAL" <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 1:00 AM Subject: RE: [PHP] How to loop the HTTP

Re: [PHP] How to loop the HTTP_POST_VARS array?

2001-05-20 Thread Rasmus Lerdorf
foreach($HTTP_POST_VARS as $key => $val) { echo "$key: $val\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++) { >

RE: [PHP] How to loop the HTTP_POST_VARS array?

2001-05-20 Thread Maxim Maletsky
etsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Carlos Fernando Scheidecker Antunes [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 12:43 PM To: PHP-GENERAL Subject: [PHP] How to loop the HTTP_POST_VARS array? Im

[PHP] How to loop the HTTP_POST_VARS array?

2001-05-20 Thread Carlos Fernando Scheidecker Antunes
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

[PHP] How to loop the HTTP_POST_VARS array?

2001-05-20 Thread Carlos Fernando Scheidecker Antunes
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.