PDOCrud Change column data type in table(grid)

  
                             $pdocrud = new PDOCrud();
                             $pdocrud->crudTableCol(array("product_name","product_line","product_image","product_url"));
                             //set product_image column to type image and set width and height (you can also set any attribute like style, class)
                             $pdocrud->tableColFormatting("product_image", "image",array("width" =>"100px","height"=>'100px'));
                            //set product_url column to type url and set it's text (you can also set any attribute like style, class)
                             $pdocrud->tableColFormatting("product_url", "url",array("text" =>"View product","target"=>'_blank'));
                             echo $pdocrud->dbTable("products")->render();
                        

Deprecated: Required parameter $field follows optional parameter $op in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 924

Deprecated: Required parameter $task follows optional parameter $op in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 924

Deprecated: Required parameter $totalrecords follows optional parameter $page in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrudHelper.php on line 191

Products

Showing 1 to 5 of 107 entries

# Product name Product line Product image Product url Actions
1 1952 Alpine Renault 1300 Classic Cars View product
2 1962 LanciaA Delta 16V Classic Cars View product
3 1968 Ford Mustang Classic Cars View product
4 2001 Ferrari Enzo Classic Cars View product
5 1958 Setra Bus Trucks and Buses View product
# Product name Product line Product image Product url Actions