Solved

get Results from serverside inside a Paginate the results in blocks of 10 or 20

Posted on 2011-09-20
2
380 Views
Last Modified: 2012-05-12
Hi i am making a jquery Call like this!

$.ajax({ type:"POST", url:"welcome.php", data: data, success: function (html) { $('#message').html(html); } }); return false;

Now i get data and it may be more than 10000 records, i want to paginate my records within a DIV..

how can i do that, should i try server side pagination, will it work inside that div or should i apply pagination using jquery, will that work here, because all i want it when i paginate, it should paginate within that DIv
0
Comment
  • 2
2 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
ID: 36565335
For 10, 000 records, better use the server side pagination only,
Fetch records from database in paginated manner only
http://www.petefreitag.com/item/451.cfm
http://www.w3schools.com/sql/sql_top.asp
http://www.php-mysql-tutorial.com/wikis/php-tutorial/paging-using-php.aspx
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36565342
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article discusses four methods for overlaying images in a container on a web page
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now