PHP Classes

CGrid: Show grid with MySQL data order columns by click

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 4,961 All time: 540 This week: 298Up
Version License Categories
grid 1.0GNU General Publi...HTML, Databases
Description Author

Properties
+---- table // Instance of recordset
+---- titles // Array with titles of columns
+---- colsSize // Size of each colum
+---- colsOrder // Name of fields to ORDER BY SQL
+---- titlesBgColor // BgColor of Titles
+---- titlesOnColor // BgColor of selected title
+---- titlesOffColor // BgColor of non selected
+---- listColor // Color of content
+---- overRow // Color of mouse over line
+---- eraseCol // 1 to show erase colum

Function
+---- show( $sql ) // Show grid

Picture of Ricardo Costa
Name: Ricardo Costa <contact>
Classes: 9 packages by
Country: Brazil Brazil
Age: 43
All time rank: 311 in Brazil Brazil
Week rank: 374 Down19 in Brazil Brazil Down

  Files folder image Files  
File Role Description
Plain text file class.grid.phtml Class Show grid with data and order by click
Plain text file class.mysql.phtml Class Full Collection of MySQL functions
Accessible without login Plain text file example.phtml Example Example of Grid
Accessible without login Plain text file grid.sql Data Table data for example.phtml

 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,961
This week:0
All time:540
This week:298Up
 User Ratings  
 
 All time
Utility:67%StarStarStarStar
Consistency:57%StarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:2783
  
For more information send a message to info at phpclasses dot org.