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