Message :
Employee
Showing 1 to 5 of 94 entries

Now you can define the separate form fields for insert and edit forms. As you know, formFields function is used to set both insert and edit form fields but if you want separate fields for the edit form, you can use editFormFields function to define the fields for edit form. If editFormFields function is not defined then formFields function fields will be used for insert and edit form like previously.
$pdocrud = new PDOCrud(); //set which form fields to display. It sets fields for both insert and edit form. $pdocrud->formFields(array("first_name","last_name","Address")); // function to set form fields in both insert and edit //If you want seperate fields for edit form then insert form, you can set using below function. $pdocrud->editFormFields(array("first_name","Address"));//added in v 3.3 echo $pdocrud->dbTable("employee")->render();