Login   Register  
PHP Classes
elePHPant
Icontem

File: README.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Atasa Rossios  >  Data Grid Object  >  README.txt  >  Download  
File: README.txt
Role: Documentation
Content type: text/plain
Description: Some notes to you
Class: Data Grid Object
Display MySQL query results in HTML tables
Author: By
Last change:
Date: 2006-11-29 03:42
Size: 1,804 bytes
 

Contents

Class file image Download
DataGrid Object PHP Class By Atasa Rossios

This class is a cuntinuation of a class made by Carlos Miguel Guevara. (http://www.phpclasses.org/browse/package/2599.html)
I keep him informed about the changes I do.

I was looking for a Datagrid class similar to Flash Datagrid.
I like the way you can customize it, clean and simple.
From what I have seen here, Carlos Class was near about.
The reason I uploaded, is to play around with some other people, exchenge ideas, and make a real good component.

So the Functionality of this class is, bind a mysql query to a html table. 
Here are the Details 

1. Description
According to Carlos:
This class can be used to display MySQL database query results in HTML tables.
The class executes a given SQL query and generates an HTML table that displays the query results.
The class can associate a query result column with a given text that is used to display as title of the table as column header.
The class may also generate navigation links to split the query results table listing in multiple pages with a limited number of results per page.

2.Customization
Just Edit the Css file to your taste. I am not going to say somenting else about css

3. Enhancements I have add
a. Reorganize the class, It now validates under E_STRICT
b. Produce clean XHTML code
c. Bind all the information in the html table it self, includig Paging etc
d. Add Javascript Callback functions support [deleteRecord('id','Params')]
e. Add Optional extra query string additions on the links [page.php?id=1&action=delete)]

3. Instalation
Very Simple.
You will have to bind a SQL query against any SQL Table you have, to see the results

4. Contact
I am open to any additions, enhancements, ideas to implement.
So feel free to contact me at atasa.rossios@gmail.com

Atasa Nick Rossios