: "Daevid Vincent" <[EMAIL PROTECTED]>
To: "'Rick Emery'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, January 24, 2003 7:46 AM
Subject: RE: [PHP] Strange anomolie with each() and mysql_fetch_array()
> First, if you expect only a single row r
tement shouldn't work just
as the first.
> - Original Message -
> From: "Daevid Vincent" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 23, 2003 11:38 PM
> Subject: [PHP] Strange anomolie with each() and mysql_fetch_array()
y two elements
aparrently,
so what are you expecting eac() to do?
- Original Message -
From: "Daevid Vincent" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 11:38 PM
Subject: [PHP] Strange anomolie with each() and mysql_fetch_array()
How come I *can* do these commands:
$row = mysql_fetch_array($result,MYSQL_ASSOC);
while(list($myVariableName,$sqlFieldName)=each($row))
{ $$myVariableName = $sqlFieldName; }
But I can't do this command?
while(list($myVariableName,$sqlFieldName)=each(mysql_fetch
4 matches
Mail list logo