According to the manual, "An important thing to note is that using mysql_fetch_array() is not significantly slower than using mysql_fetch_row() <http://www.php.net/manual/en/function.mysql-fetch-row.php>, while it provides a significant added value."

Noah wrote:

You'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
Subject: Re: [PHP] Yarrrrgggghhhhh || 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 $result['field_name'] rather


than


$result[0]?

So, I'm looking for <? echo $result['field_name'] ?> -- just can't seem


to


get the right syntax.

-- clueless



--








--
The above message is encrypted with double rot13 encoding. Any


unauthorized attempt to decrypt it will be prosecuted to the full extent of
the law.










-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to