Re: [PHP] Grab a range of rows from a mysql result

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Info@Best-IT 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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux