Page 1 of 1

Paging With Ajax

Posted: Tue Apr 06, 2010 1:04 am
by Pirontech
Dear All,

i have a page and data populated from the data base with the options edit record, add record, delete Record, Search Record (For Same Page) by entering the field value, all things worked with Ajax (Without Reloading The Page), now client also want the Paging With Ajax (Without reloading the Page), My structure is Page_name.php and page_name.js and class file page_name_class.php, all sql Login Written in the Class File ("page_name_class.php")......


Please guide me that how to apply the Ajax Paging without reloading the page.....

Please Please Reply...

Re: Paging With Ajax

Posted: Sun Apr 11, 2010 7:41 pm
by Jonah Bron
What do you mean by "paging"? Do you mean giving results in several pages?

Re: Paging With Ajax

Posted: Thu Apr 22, 2010 2:17 am
by Pirontech
i mean break records into pages for more please visit the URL - http://www.plus2net.com/php_tutorial/ph ... g-ajax.php (its only for Help)


actualy i have 100 records (row) in Data Base, and all record populated from the data base through PHP My SQL (Programming). now i want to show only 20 recordhs and others by paging. ANd paging Like this:

<< < showing 1 to 20 of 100 > >>

Symbolic Meaning : << stands for Extreem First Page.

< Stands for Just Previous Page

> Stands for Just Next Page

>> Stands for Extrem Last Page

and all page have 20 records as per teh definition.

Ex Suppose i have set variable : $records_per_page=20 and my total Records are $num_rows = 100

then now the total Pages are 100/20= 5 and so on

Please reply so that i can complete My Task.......

Waiting For Yr. Reply...