How to display a limiting database query results on a page and use next button to browse more results?
MySQL's LIMIT option can be used for this. Just like you can use it to limit results, you can use it to show rows that aren't at the beginning of the result set.
For example, just adding 'LIMIT 10' to the end of a query would show the first 10 results. Appending 'LIMIT 11,10' will show 10 results, starting from the 11th, or the next 10 results. Appending 'LIMIT 21,10' will show the third set of 10.
Saturday, March 28, 2009
mySQL query result issue (1)
Posted by
lc marshal
at
10:49 AM
Subscribe to:
Post Comments (Atom)
Search Articles
Study Categories
- 3D (1)
- actionscript (3)
- Activity (5)
- Articles (1)
- Blog (1)
- browser (5)
- CMS (1)
- Computing (1)
- css (1)
- database (6)
- Designer Guidelines (2)
- dreamweaver (4)
- Editor's Pick (1)
- Events (2)
- flash (9)
- Games (1)
- google (2)
- Graphic (4)
- html (2)
- IIS (2)
- javascript (7)
- Joomla (3)
- Lazacode (2)
- menu navigation (2)
- Mobile (1)
- MySQL (5)
- Online Tools (1)
- Open Source Development Kit (11)
- OS (5)
- pdf (1)
- PHP (7)
- PHP. Server (1)
- Powerpoint (1)
- Ruby (1)
- Server (5)
- Software/Tools (8)
- tracker (1)
- video (1)
- Vista (2)
- VMS (1)
- Web Editor (5)
- Web Idea (2)
- Website tricks (2)
- What is? (6)
- Windows (2)
- Wordpress (1)
0 comments:
Post a Comment