Warning: include(../../script/pdocrud.php): Failed to open stream: No such file or directory in /var/sentora/hostdata/digjainwi/public_html/allsanginfodev/demo/pages/plugin-select2.php on line 1

Warning: include(../../script/pdocrud.php): Failed to open stream: No such file or directory in /var/sentora/hostdata/digjainwi/public_html/allsanginfodev/demo/pages/plugin-select2.php on line 1

Warning: include(): Failed opening '../../script/pdocrud.php' for inclusion (include_path='.:/opt/remi/php81/root/usr/share/pear:/opt/remi/php81/root/usr/share/php:/usr/share/pear:/usr/share/php') in /var/sentora/hostdata/digjainwi/public_html/allsanginfodev/demo/pages/plugin-select2.php on line 1
PDOCrud - CRUD application generator for PHP and Mysql, Pgsql and Sqlite database.

Plugin Select2 examples

  
                                $pdocrud = new PDOCrud();
                                $pdocrud->addPlugin("select2");//to add plugin          
                                $pdocrud->fieldTypes("order_status", "multiselect");//change gender to radio button
                                $pdocrud->fieldDataBinding("order_status", array("Completed","Pending"), "", "","array");//add data binding using array
                                echo $pdocrud->dbTable("orders")->render("insertform");
                                echo $pdocrud->loadPluginJsCode("select2","select");//to add plugin call on select elements
                            

Plugin Select2 examples - PDOCrud


Fatal error: Uncaught Error: Class "PDOCrud" not found in /var/sentora/hostdata/digjainwi/public_html/allsanginfodev/demo/pages/plugin-select2.php:48 Stack trace: #0 {main} thrown in /var/sentora/hostdata/digjainwi/public_html/allsanginfodev/demo/pages/plugin-select2.php on line 48