include "phpmydatagrid.class.php"; $objGrid = new datagrid(); /* Connect with the database */ $objGrid->conectadb("localhost", "root", "", "avijatry"); /* Select the table to use */ $objGrid->tabla("inventory_config_types"); $objGrid->friendlyHTML(); //$objGrid -> pathtoimages("./images/"); $objGrid->closeTags(true); $objGrid->form('employee', true); $objGrid->methodForm("post"); $objGrid->total("total_qty"); $objGrid->searchby("table_index,factory_name"); //$objGrid -> linkparam("sess=".$_REQUEST["sess"]."&username="******"username"]); $objGrid->decimalDigits(2); $objGrid->decimalPoint(","); /* Select the table to use */ $objGrid->buttons(true, true, true, true); $objGrid->salt("Some Code4Stronger(Protection)"); $objGrid->TituloGrid("অভিযাত্রী সুজ বিক্রি তথ্য"); $objGrid->FooterGrid(""); $objGrid->datarows(30); $objGrid->paginationmode('links'); $objGrid->keyfield("table_index"); $objGrid->orderby("table_index", "DESC"); $objGrid->tabla("inventory_config_types"); $objGrid->noorderarrows(); /* Define fields to show */ $objGrid->FormatColumn("genre", "জুতার ধরনের নং", 30, 30, 0, "150", "left"); $objGrid->FormatColumn("type", "জুতার ধরন", 30, 30, 0, "150", "left"); $objGrid->setHeader();