<?php
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 );
?>
|