How to show huge tables on a HTML page?

 Assume that you want to show a huge table in
several pages by letting the user to change the pages
with components on the page like this:

<<  1 2 3 4 ... >> 

How can I do this.
 
Thanks in advance.
MohamadiAsked:
Who is Participating?
 
geobulCommented:
Hi,
The first way is to create those pages as static HTML pages on your server once and include links to other pages in every one of them. Advantage is that you process one request only. Disadvantage - you can't understand when the user will finish his work to delete the pages.

The second way is to create the first page only. Then create next/previous page on every request and use SQL to fetch next data based on the page number and the quantity of records per page.

Regards, Geo
0
 
Dennis9Commented:
Hi maybe u should tell a bit more about it.

Dennis
0
 
geobulCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

accept geobul's comment as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thanks,

geobul
EE Cleanup Volunteer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.