Webocreation

Monday, January 17, 2011

Ajax Pagination

     
  • Change the file path and the path must be absolute
  •  
  • Change the $qry, where $qry is the query that you want to retrive the data from the database
  •  
  • Change the $starting if you want to change the first starting in most cases it is 0
  •   
  • Change the $recpage the record per page
  •  
  • To change the design change the designpage.php
  •  
  • To change the search form the testpage.php
  •  
  • To change the design of the pagenumber check in the pagination_class.php
  •  
  • No. of pages showing in the left and right side of the current page in the anchors can be changed with the change of the $anchor value at the pagination_class.php
       
  • If you dont like to show the next>>previous>> first >>last link then comment in paginaton_class.php
     
  •  if($previous < 0){
    //$anc .= "
  • First
  • ";
    //$anc .= "
  • Previous
  • ";
    }else{
    //$anc .= "";
    //$anc .= "";
    }


  •     ajax pagination, simple ajax pagination, pagination function in ajax, ajax pagination with files and folders  
       
  •     

No comments:

Post a Comment