Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2004071

[PHP-DB] Re: [PHP] Grab a range of rows from a mysql result From: John W. Holmes (holmes072000 <email protected>)
Date: 07/13/04

Info <email protected> wrote:

> The resource is made up of 1000+ records from a mysql table that I am
> breaking up to make my PHP application run faster. I have figured out how
> to compute the range but I donąt know how to pull out a group of rows within
> a range from a mysql result resource.

$query = "SELECT * FROM yourtable WHERE range BETWEEN 400 AND 500";

-- 
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php