note 2705 deleted from MySQL functions by danbeck
| From: | danbeck@php.net | Date: | Thu, 07 Sep 2000 14:29:28 +0000 |
| Subject: | note 2705 deleted from MySQL functions by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4330@lists.php.net to get a copy of this message | ||
To ng@wongfaye.com's comment if resources are not an issue you could always issue the query for
a count then again with the limits<br>i.e.<pre>$query = "select count(x) from y
where z";
$query = "select * from y where z limit a,b";
</pre>I'm not sure what performance hit you take if any with this approach but it works
and saves a bit of memory.