Re: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Philip Olson
There is no performance/speed issue, the two are identical in speed. This is a personal preference issue. Although, extract() does not work on objects, only arrays. Also, when using _fetch_array, use the second optional parameter, for example: $row = mysql_fetch_array($result, MYSQL_ASSOC

Re: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Bryan Gintz
Personal preference, and all my code is written with that so far, but seeing about the speed issue, that might change. Thanks. Jim Lucas [php] wrote: >oh and mysql_fetch_object is a little slower then mysql_fetch_array() > >Jim Lucas >- Original Message - >From: "Bryan Gintz" <[EMAIL

Re: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Jim Lucas [php]
oh and mysql_fetch_object is a little slower then mysql_fetch_array() Jim Lucas - Original Message - From: "Bryan Gintz" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Wednesday, January 30, 2002 10:48 AM Subject: [PHP] MySQL Fetch_Array VS. Fetch_Object > Does anyone kno

Re: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Jim Lucas [php]
my question to you is, why do you want to put them into "another" variable? the $row["field_name"]; is already a variable. why not just use that instead? Jim Lucas - Original Message - From: "Bryan Gintz" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Wednesday, January 30,

RE: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Matthew Walker
Note that you can do this: print "$row[field_name]"; Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Bryan Gintz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 11:49 AM To: PHP List Subject: [PHP] MySQL Fetch_Array VS. Fetch_Object D