note 9079 deleted from function.mysql-result by didou
| From: | didou@php.net | Date: | Wed, 09 Jul 2003 08:07:49 +0000 |
| Subject: | note 9079 deleted from function.mysql-result by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-51754@lists.php.net to get a copy of this message | ||
Note Submitter: dschultz@protonic.com
----
Actually, mysql_result() is faster when you really only want one cell. For example, if you just want
to get a count of the number of rows in a query, you would want to SELECT COUNT(*)... and then use
mysql_result($whatever,0)