Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Hey guys i have to make php program in which i have to take data from database (table is student(stu_id , s_name , s_emailid)) from which i have to display only 10 records on first page and 4 buttons First , Last , Previous and next .

if user click on next in table i have to display next ten records on same page(replace older data of table) and if user click then previous then previous 10 records. and wiseversa for first and last.

i have no idea how i can do this so plz guys help me..

share|improve this question

closed as off topic by John Conde Mar 2 '13 at 15:50

Questions on Webmasters Stack Exchange are expected to relate to webmastering within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
I would suggest you look into datatables.net it can use server side data from MySQL, AJAX and more –  Anagio Mar 2 '13 at 16:52

Browse other questions tagged or ask your own question.