PHP3 Introduction Introduction to PHP and web database interfacing with MySQL. PHP3 is an HTML-embedded scripting language allowing web developers to create dynamic, database-driven websites.
| Name: |
Yu-Gin Ng |
| Subject: |
Re: Breaking result sets into multiple pages in PHP3 |
| Date: |
05-31-1999 02:34AM |
If you are using mySQL, use the 'limit' keyword in your SQL statement. e.g. "SELECT name, age FROM employees LIMIT 9,5" will return 5 rows starting from the 10th row. For the next page you can use "LIMIT 14,5" to return the next 5 rows.
|
Other posts in this thread:
Reply to this post:
|
 |
Visit the PHP Forum!
New On DevShed:
Hot Forum Topics:
|