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
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.
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
e. Add Optional extra query string additions on the links [page.php?id=1&action=delete)]
You will have to bind a SQL query against any SQL Table you have, to see the results
I am open to any additions, enhancements, ideas to implement.
So feel free to contact me at firstname.lastname@example.org
Atasa Nick Rossios