"username", 1=>"webSite", 2=>"password", 3=>"email"); // it means that just username, password and email columns will be shown in the grid. // $nextPage(Page you want to do some action on selected row element.)=activateUsers.php; // $nextPageLable(Label to be shown in dataGrid)="Activate this User"; // $rowColor="#eeeeee"; // $width="600";Pixels ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// $g=new dataGrid($dataSource, "userID", array(0=>"username", 1=>"webSite", 2=>"password", 3=>"email"), "activateUsers.php", "Activate this User", "#eeeeee", "600"); $g->create();//Shown the grid. ?>