Re: [PHP] Strange anomolie with each() and mysql_fetch_array()

2003-01-24 Thread Rick Emery
: "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

RE: [PHP] Strange anomolie with each() and mysql_fetch_array()

2003-01-24 Thread Daevid Vincent
> First, if you expect only a single row returned, why are you > using a while(){} construct? > Third, each() operates on succeeding elements of an array; > there are only two elements aparrently, > so what are you expecting eac() to do? Because that magic incantation that Rasmus taught me many

Re: [PHP] Strange anomolie with each() and mysql_fetch_array()

2003-01-23 Thread Rick Emery
First, if you expect only a single row returned, why are you using a while(){} construct? Second, mysql_fetch_array() does not like to operate within another function call. I've tried it on multiple occasions; failed. Third, each() operates on succeeding elements of an array; there are only two