Solved

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

Posted on 2011-09-20
2
382 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

821 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