Field class and attribute settings Add field class and attributes in PDOCrud

  
                                $pdocrud = new PDOCrud();
                                $pdocrud->fieldCssClass("first_name", array("class1", "class2"));// add css classes
                                $pdocrud->fieldAttributes("last_name", array("data-type"=>"some_val"));// any attribute name and it's value
                                $pdocrud->fieldAttributes("customer_name", array("placeholder"=>"name of customer"));//add placeholder attribute
                                $pdocrud->fieldAttributes("order_status", array("placeholder"=>"status of order"));//add placeholder attribute
                                echo $pdocrud->dbTable("orders")->render("insertform");
                            

Field class and data attributes addition using PDOCrud


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

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 3532

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 3543

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 3588

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 4221

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 4230

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 3588

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 4221

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 4230

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 3588

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 4221

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 4230

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 3588

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 4221

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 4230

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 3588

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 4221

Warning: Trying to access array offset on value of type null in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 4230