This example illustrates how to execute LIMIT operator of mysql in PHP.
In this example, we have created a limit.php page, in which we execute a query with LIMIT operator. In the LIMIT operator we put minimum and maximum limit of the table data. For example, the LIMIT 0,5 retrieves the row starting from row number 0 (the first one) to a maximum of 5 rows.
Source Code of limit.php
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: January 20, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles