Gazishaheen’s Weblog

sql query(help for pagination)

Posted by: gazishaheen on: May 5, 2008

SELECT * FROM `student` LIMIT 20, 10

This will return 10 records from 21st record. That is from 21st record to 30th  record. Here is the output

Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


  • Mr WordPress: Hi, this is a comment.To delete a comment, just log in, and view the posts' comments, there you will have the option to edit or delete them.

Categories

Follow

Get every new post delivered to your Inbox.