baglan('localhost','root','password'); // Connecting Mysql Server $db->dbsec('ihale'); // Select Database $db->sql("SELECT id,username FROM users"); // Execute Query return Datasource ?>

Before Style And Template

grid(); // Print Grid ?>

After Style without Template

style=array( 'row1'=>'example_row1_style', 'row2'=>'example_row2_style', 'thead'=>'example_thead_style' ); echo $db->grid(); // Print Grid With Style. ?>

With Style And template

sutun_template('username','{$username}'); // Column names $db->sutun_adlari=array('username'=>'User Name','id'=>'User ID'); $db->aktif_sutunlar('username'); // only username will be showed echo $db->grid(); // Print Grid With Style and template. ?>

Debug Info

totalTime().' Seconds with '.$db->sqlCount().' Sql Query And '.count($db->tum_hatalar).' Error(s)'; // Can Create more grid with only 1 query. echo '
Tufyta'; // Can Create more grid with only 1 query. ?>