PHP Classes

DG: Display database query results in HTML tables

Recommend this page to a friend!
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 313 This week: 1All time: 7,277 This week: 571Up
Version License PHP version Categories
dg 1.0Freeware5.0HTML, PHP 5, Databases
Description 

Author

This class can be used to display MySQL query results in HTML tables.

It calls the sqlExec class to execute an SQL query that retrieves data from a given table.

The class displays the values of a given list of table fields in an HTML table.

It also displays links to navigate between the multiple pages on which the listing is split.

The listing formatting styles are configurable.

Picture of Ghali Ahmed
  Performance   Level  
Name: Ghali Ahmed <contact>
Classes: 5 packages by
Country: Tunisia Tunisia
Age: 40
All time rank: 22628 in Tunisia Tunisia
Week rank: 420 Up2 in Tunisia Tunisia Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Files folder imageconf (2 files)
Files folder imageimages (4 files)
Files folder imagejs (1 file)
Files folder imagelang (3 files)
Files folder imagelogic (2 files)
Files folder imagestyles (1 file)
Accessible without login Plain text file Exemple.php Example Exemple file

  Files folder image Files  /  conf  
File Role Description
  Accessible without login Plain text file create_table.sql Data Create table named "utilisateurs" to test the exemple dont forget to chage the config data with your connexion parametre
  Accessible without login Plain text file db.conf.php Conf. Config file

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file delete.gif Icon delete
  Accessible without login Image file tri_asc.gif Icon asc
  Accessible without login Image file tri_desc.gif Icon desc
  Accessible without login Image file update.gif Icon update

  Files folder image Files  /  js  
File Role Description
  Accessible without login Plain text file js.js Data the main js

  Files folder image Files  /  lang  
File Role Description
  Accessible without login HTML file ar.xml Data xml file language arabic
  Accessible without login Plain text file en.xml Data xml file
  Accessible without login Plain text file fr.xml Data xml file language english

  Files folder image Files  /  logic  
File Role Description
  Plain text file DG.class.php Class the main class
  Accessible without login Plain text file function.php Aux. the functions file that containe the user function

  Files folder image Files  /  styles  
File Role Description
  Accessible without login Plain text file default.css Data css file

Downloaddg-2008-02-27.zip 12KB
Downloaddg-2008-02-27.tar.gz
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
sqlExec Download .zip .tar.gz Making the db connection and giving the data ressource to fetch place it in the logic folder Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:313
This week:1
All time:7,277
This week:571Up