RE: [PHP-DB] get all records but limit to 6
| From: | Marcjon | Date: | Mon, 14 Jun 2004 06:49:18 +0000 |
| Subject: | RE: [PHP-DB] get all records but limit to 6 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34772@lists.php.net to get a copy of this message | ||
I think the problem is he wants to limit after he's sorted them. The
only way I know of to do that is to do the whole query without a limit
clause, then run through the results but only do whatever you have to do
with the first 6.
--
Marcjon