$pdocrud = new PDOCrud(); $pdocrud->formStaticFields("personalinfo", "html", "1.Personal Info
Enter your personal information");//html field $pdocrud->formStaticFields("terms_and_conditions", "checkbox", array("I accept the terms and condition"));//checkbox field $pdocrud->formStaticFields("hidden_field", "hidden", array("some value")); //add hidden field $pdocrud->fieldDisplayOrder(array("personalinfo")); echo $pdocrud->dbTable("users")->render("insertform");