note 9079 added to mysql_result

From: Date: Sun, 15 Oct 2000 03:10:43 +0000
Subject: note 9079 added to mysql_result
Groups: php.notes 
Request: Send a blank email to php-notes+get-6491@lists.php.net to get a copy of this message
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) http://www.php.net/manual/function.mysql-result.php

« previous php.notes (#6491) next »