PHP Classes

File: example_simple.php

Recommend this page to a friend!
  Classes of Kamrul Khan   PHP Grid   example_simple.php   Download  
File: example_simple.php
Role: Example script
Content type: text/plain
Description: example
Class: PHP Grid
Display MySQL query results in a HTML table
Author: By
Last change: Script Uploaded
Date: 9 years ago
Size: 347 bytes


Class file image Download

include( 'grid.php' );

$page = new grid( array( 'Name' => 'Name',
'Depertment' => 'Depertment',
'User ID' => 'user_id',
'Group' => 'group') );

$query = "SELECT * FROM `users`";

$page->configur( array( 'key'=>'id','table'=>'users','oparation'=>0,'serial'=>1 ) );
$page->display( $query );