PHP Classes

Packages of Reneesh T K

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Reneesh T K (2)  >  Mission progress status  >  Reputation  
Picture of Reneesh T K
Name: Reneesh T K <contact>
Classes: 2
Country: India India
Age: 43
All time rank: 24715 in India India
Week rank: 195 Up19 in India India Down
All time users: 9970
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Paginations  
Split MySQL query result listings
This class can be used to split MySQL database query listings between multiple pages.

It takes as parameters a SQL query, the limit number of result rows to display per page, and the number of the listing page being displayed.

The class executes the query to retrieve the results of the current page and stores the result handle in a class variable.

The class also generates HTML with links to go to the first, last, next, previous and any intermediate page of the listing.

It also generates HTML to display the current page being display and the total number of rows in the result set.

The links trigger the call of a Javascript function that will switch to the page associated with the link.

  Files folder image PHP AJAX pagination  
Show MySQL query results split in pages using AJAX
This class can be used to show MySQL query results split in pages using AJAX.

It takes as parameters an SQL query, the number of results to show per page and the current page number.

The generates HTML and Javascript for links to browse the query result pages.

When the user clicks on the links an AJAX request is sent to a script that retrieves the page results and the respective pagination links.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z