note 44250 deleted from function.mysql-fetch-object by tomsommer

From: Date: Mon, 19 Jul 2004 19:20:06 +0000
Subject: note 44250 deleted from function.mysql-fetch-object by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-73620@lists.php.net to get a copy of this message
Note Submitter: xenon54@generationphp.net ---- Don't use "SELECT COUNT(*) FROM foobar" to return a count of the table! You should use "SELECT count(a_field) FROM foobar" Why using all fields if you could use only one and be more effective?

« previous php.notes (#73620) next »