Re: [PHP] Yarrrrgggghhhhh || Simplest php question in existence........

2003-03-04 Thread Daniel Guerrier
Or $row = mysql_fetch_objects() then use $row->fieldname; --- Joel Colombo <[EMAIL PROTECTED]> wrote: > not mysql_fetch_array unless u need those int > indexes. > mysql_fetch_assoc is the same thing but does not > index the integer value, > just the string field name. > > Joel > > > "Leif K-Br

Re: [PHP] Yarrrrgggghhhhh || Simplest php question in existence........

2003-03-03 Thread Larry E. Ullman
Any performance issues re: using fetch_row vs. fetch_array? No significant performance issues. If you want to be precise and save a little overhead, use $row = mysql_fetch_array ($result, MYSQL_ASSOC); The returned record will ONLY be returned as an associative array. Larry -- PHP General Maili

Re: [PHP] Yarrrrgggghhhhh || Simplest php question in existence........

2003-03-03 Thread Leif K-Brooks
27;re on a roll. Any performance issues re: using fetch_row vs. fetch_array? Thanks again, --Noah - Original Message - From: "Leif K-Brooks" <[EMAIL PROTECTED]> To: "CF High" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 7:04 PM

Re: [PHP] Yarrrrgggghhhhh || Simplest php question in existence........

2003-03-03 Thread Noah
y, March 03, 2003 7:04 PM Subject: Re: [PHP] Yah || Simplest php question in existence > Use mysql_fetch_array instead of mysql_fetch_row. > > CF High wrote: > > >Hey all. > > > >Basic question here: > > > >How can I refer to a query result set as

Re: [PHP] Yarrrrgggghhhhh || Simplest php question in existence........

2003-03-03 Thread Joel Colombo
not mysql_fetch_array unless u need those int indexes. mysql_fetch_assoc is the same thing but does not index the integer value, just the string field name. Joel "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Use mysql_fetch_array instead of mysql_fetch_row. > > CF

Re: [PHP] Yarrrrgggghhhhh || Simplest php question in existence........

2003-03-03 Thread Leif K-Brooks
Use mysql_fetch_array instead of mysql_fetch_row. CF High wrote: Hey all. Basic question here: How can I refer to a query result set as $result['field_name'] rather than $result[0]? So, I'm looking for -- just can't seem to get the right syntax. -- clueless -- -- The above message is

[PHP] Yarrrrgggghhhhh || Simplest php question in existence........

2003-03-03 Thread CF High
Hey all. Basic question here: How can I refer to a query result set as $result['field_name'] rather than $result[0]? So, I'm looking for -- just can't seem to get the right syntax. -- clueless -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne