Plugin file input example

  
                                 $pdocrud = new PDOCrud();
                            $pdocrud->addPlugin("bootstrap-fileinput-master");//to add plugin          
                            $pdocrud->fieldTypes("product_image", "image");//change field type
                            $pdocrud->formFields(array("product_name","product_price","product_image"));
                            echo $pdocrud->dbTable("producttable")->render("insertform");
                            echo $pdocrud->loadPluginJsCode("bootstrap-fileinput-master","input[type=file]");//to add plugin call on input[type=file] elements
                            
                            

Plugin file input example - PDOCrud

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'digjainwi_allsanghinfodev.producttable' doesn't exist