PHP, AJAX, MYSQL in action .. DataGrid
There are plenty of PHP data grid controls out there, but none that could satisfy me. I use data grids on almost every web site I develop. They come in great for displaying all kinds of data. I developed this data grid to suit all my needs and more.
|A few of the features include:
Create dynamic-easy-to-use data grid controls for your web site in seconds!
The above datagrid is built in only 6 lines of code!
// file: ex1.php
// Load the database adapter
$db = new EyeMySQLAdap('localhost', 'root', '', 'people');
$dg = new EyeDataGrid($db); // Load the datagrid class
// Fetch all rows and columns from the `people` table
// Print the table
You can even make the above example Ajax enabled with 1 line of code!
// file: ex1-ajax.php
// Just call one function and your table is now totally Ajax enabled!
Example 1 – Basic DataGrid [View] [Source] Example 1.5 – Basic DataGrid WITH AJAX [View] [Source] Example 2 – Filters, Headers, Column Types [View] [Source] Example 3 – More Features [View] [Source] Example 4 – Row Selection [View] [Source] Example 5 – Full Featured Ajax Demo [View] [Source]
eyedatagrid-1.1.zip 93kb, v1.1.6, Released: 03-Dec-08
quoted from: www.eyesis.ca