Select found_rows problem...
| From: | Yemi Obembe | Date: | Fri, 20 Jan 2006 09:43:21 +0000 |
| Subject: | Select found_rows problem... | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-41093@lists.php.net to get a copy of this message | ||
Using the select calc_found rows code (i.e select sql_calc_found_rows *
from table where ... limit 0, 10) to get the found fesult irrespective of
the limit clause...then using $count = mysql_query("select found_rows()");
with the hope of getting the returened result but got this instead: Resource
id #7.
what could be wrong?
--
http://ngBot.com
Nigeria's #1 website directory.