Units

Ingredients

[insert_php] $pdocrud = new PDOCrud();//create object of PDOCrud Class

$pdocrud->fieldTypes(“unitsid”, “select”);//change type to select
$pdocrud->fieldDataBinding(“unitsid”, “ck_units”, “id”, “name”, “db”);//add data using another table name country

echo $pdocrud->dbTable(“ck_ingredients”)->render(); // call render function on database table
[/insert_php]

Loading...