I meant $key and $val of course :o)
- Kev
-Original Message-
From: Kevin Porter [SMTP:[EMAIL PROTECTED]]
Sent: 25 September 2002 12:00
To: '[EMAIL PROTECTED]'
Subject: [PHP] looping through array with list()/each()
OK so I've done this hundreds of times, but this time I
while ( list($key, $val) = each($ser) ); --- ; should not be here
-Original Message-
From: Kevin Porter [mailto:[EMAIL PROTECTED]]
Sent: 25 September 2002 12:13
To: Kevin Porter; '[EMAIL PROTECTED]'
Subject: RE: [PHP] looping through array with list()/each()
I meant $key and $val
Thank you, thank you, thank you.
And, er, D'oh! :o)
- Kev
-Original Message-
From: Karl Phillipson [SMTP:[EMAIL PROTECTED]]
Sent: 25 September 2002 12:13
To: [EMAIL PROTECTED]
Subject: RE: [PHP] looping through array with list()/each()
while ( list($key, $val) = each
3 matches
Mail list logo