What code do I use to limit the number of results per page ?![]()
What code do I use to limit the number of results per page ?![]()
One Stop Comprehensive Real Estate & Mortgage Services
Putnam County NY Real Estate - Heritage Hills Somers NY - Brewster NY Real Estate
$_REQUEST['page_limit'] = 15;
Of course, adjust the number as needed.
MJA
PM me to explore contextual links!
Reno Real Estate | Carson City Real Estate | Minden Real Estate
You can limit the result that the database returns by using LIMIT in your query.
e.g. SELECT * FROM properties LIMIT 0,10 ... returns the first 10
e.g. SELECT * FROM properties LIMIT 10,10 ... returns the next set of 10
Depends on what language you use for your site/webpage
© Copyright Real Estate Webmasters 2004-2010, All Rights Reserved. Terms of Service