PHP Classes

phpSortable: Display SQL query results in sortable HTML tables

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 2,425 All time: 1,607 This week: 63Up
Version License PHP version Categories
phpsortable 2.0Freely Distributable4.3HTML, PHP 5, Databases


This package can be used to display SQL database query results in sortable HTML tables.

It executes SQL queries and displays the results in HTML tables with sorting links in the table headers.

It can also link cells of each row of the table to other pages to execute operations on the data displayed in the respective rows, like for editing or deleting the associated database table records.

The class can also display pagination links to browse the listing split between multiple pages when the number of rows exceeds the configured limit.

This package is derived from the phpSortTable package. It uses the activeDBLib database abstraction class, so it can work with many different types of databases besides MySQL.

Picture of Wagner O. Wutzke
Name: Wagner O. Wutzke <contact>
Classes: 3 packages by
Country: Germany Germany
Age: ???
All time rank: 87455 in Germany Germany
Week rank: 234 Up13 in Germany Germany Up

  • screenshot.jpg
  Files folder image Files  
File Role Description
Files folder imagephpSortable (4 files, 2 directories)

  Files folder image Files  /  phpSortable  
File Role Description
Files folder imageexamples (2 files)
Files folder imageimg (5 files)
  Plain text file class.phpSortable.php Class class file
  Plain text file class.phpSortColumn.php Class help class file
  Plain text file phpSortable.css Data CSS file
  Plain text file readme.txt Data readme file

  Files folder image Files  /  phpSortable  /  examples  
File Role Description
  Plain text file example_01.php Example example file
  Plain text file example_02.php Example example file

  Files folder image Files  /  phpSortable  /  img  
File Role Description
  Image file add.gif Icon icon image
  Image file asc.gif Icon icon image
  Image file delete.gif Icon icon image
  Image file desc.gif Icon icon image
  Image file edit.gif Icon icon image 66KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
ActiveDBLib Download .zip .tar.gz for database abstraction Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,607
This week:63Up
 User Ratings  
 All time