RE: [PHP-DB] Listing A Certain # Range
| From: | Aaron Wolski | Date: | Mon, 16 Dec 2002 20:16:21 +0000 |
| Subject: | RE: [PHP-DB] Listing A Certain # Range | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-24186@lists.php.net to get a copy of this message | ||
LIMIT 5,10
LIMIT 10,15
Something like that should work.
Aaron
-----Original Message-----
From: conbud [mailto:conbudd@yahoo.com]
Sent: December 16, 2002 3:10 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Listing A Certain # Range
Hello,
Im using MySQL and PHP 4.2.3 on Apache and Mandrake Linux, I was
wondering how to get PHP to list let says row 5 - 10 from a database, I
read the MySQL manual and all I could find is LIMIT 0,5 to list just the
first 5, but I dont know how to make that list 5 - 10 or 10 - 15. Any
help would be appreciated.
--
Conbud
Graphic & Web Design Using Open Source Technology
--
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php