SQL COUNT vs mysql_num_rows
| From: | margor777@yahoo.com | Date: | Thu, 06 Nov 2003 02:49:22 +0000 |
| Subject: | SQL COUNT vs mysql_num_rows | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-31464@lists.php.net to get a copy of this message | ||
maybe mysql cannot COUNT the result from more than 1 table, hence the mysql_num_rows function - but
isn't it good programming practice to get the SQL to do as much work up front?
---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard