ajaxCRUD.com

» a PHP class to Create, Read, Update, & Delete from a mysql database table using AJAX

   by loud canvas media

AjaxCRUD Class Documentation / Reference Material

<< Reference overview
<< Home

setLimit

set the limit of number of rows to display
void setLimit ( int limit )
Use this function to specify the maximum amount of rows you wish to display on one page. This function does not truncate the total amount of rows returned. It merely "pages" the results. So if there are 90 rows in the table and you've set a limit of 30, then there will be 3 pages.

Details

Type function
Returns void
Default 50

Parameters

limit
The maximum limit of rows to be returned per page. Value must be an int

Example

$tblDemo->setLimit(30);

See also

New, Edit

 

"Thanks a lot for all AjaxCRUD project. It makes my day... works like a charm!"
~jveyes

What is a business/commercial website?

A commercial website is one created for a business, for which purpose is generating revenue or cash flow of any type (and that isn't under a non-profit organization). So if you're selling a product, selling advertisement, selling a service, or just marketing a commercial business, your site is commercial. A company website is also commercial even if it doesn't sell anything, as it's purpose is to front a commercial company.
Close