Warning: include(../../script/pdocrud.php): Failed to open stream: No such file or directory in /var/sentora/hostdata/digjainwi/public_html/allsanginfodev/demo/pages/load-dependent-data.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/load-dependent-data.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/load-dependent-data.php on line 1
PDOCrud - CRUD application generator for PHP and Mysql, Pgsql and Sqlite database.

Load dependent data change data in another field on change of some field in PDOCrud

  
                            $pdocrud = new PDOCrud();
                            $pdocrud->fieldTypes("billing_country", "select"); //change type to select
                            $pdocrud->fieldDataBinding("billing_country", "country", "country_id", "country_name", "db"); //load select data
                            $pdocrud->fieldTypes("billing_state", "select"); //change type to select
                            $pdocrud->fieldDataBinding("billing_state", "state", "state_id", "state_name", "db"); //load select data
                            $pdocrud->fieldDependent("billing_state", "billing_country", "country_id"); //now on change of country it will change state
                            $pdocrud->fieldDisplayOrder(array("first_name", "last_name", "billing_country", "billing_state"));//change display order
                            echo $pdocrud->dbTable("ordertable")->render();   
                            

Populate data in another field on change on data in some field up using PDOCrud


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