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...
Paging With Ajax
Moderator: General Moderators
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: Paging With Ajax
What do you mean by "paging"? Do you mean giving results in several pages?
Re: Paging With Ajax
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...
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...