Action = "insert"; $InsertQuery->Table = "`component_family`"; $InsertQuery->bindColumn("idcomponentfamily", "s", "" . ((isset($_POST["idcomponentfamily"])) ? $_POST["idcomponentfamily"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("name_componentfamily", "s", "" . ((isset($_POST["name_componentfamily"])) ? $_POST["name_componentfamily"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("description_componentfamily", "s", "" . ((isset($_POST["description_componentfamily"])) ? $_POST["description_componentfamily"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("component_family_type", "s", "" . ((isset($_POST["laboratory_componentfamily"])) ? $_POST["laboratory_componentfamily"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("company_id", "s", "" . ((isset($_POST["company_id"])) ? $_POST["company_id"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("created_at", "s", "" . ((isset($_POST["created_at"])) ? $_POST["created_at"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("updated_at", "s", "" . ((isset($_POST["updated_at"])) ? $_POST["updated_at"] : "") . "", "WA_DEFAULT"); $InsertQuery->saveInSession(""); $InsertQuery->execute(); $InsertGoTo = "component-family.php"; if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo ? rel2abs($InsertGoTo, dirname(__FILE__)) : ""; $InsertQuery->redirect($InsertGoTo); } ?>
setQuery("SELECT * FROM component_family_type ORDER BY component_family_type.name_componentfamilytype"); $maincatlist->execute(); ?>

EasySpec

EasySpec: