Action = "insert"; $InsertQuery->Table = "component"; $InsertQuery->bindColumn("name_component", "s", "$name_component", "WA_DEFAULT"); $InsertQuery->bindColumn("description_component", "s", "$description_component", "WA_DEFAULT"); $InsertQuery->bindColumn("cas_component", "s", "$cas_component", "WA_DEFAULT"); $InsertQuery->bindColumn("formula_component", "s", "$formula_component", "WA_DEFAULT"); $InsertQuery->bindColumn("component_family_id", "i", "$component_family_id", "WA_DEFAULT"); $InsertQuery->bindColumn("component_family_type", "i", "$component_family_type", "WA_DEFAULT"); $InsertQuery->bindColumn("company_id", "i", "$company_id", "WA_DEFAULT"); $InsertQuery->bindColumn("preset", "s", "$presetcomponent", "WA_DEFAULT"); $InsertQuery->saveInSession(""); $InsertQuery->execute(); $InsertGoTo = ""; if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo ? rel2abs($InsertGoTo, dirname(__FILE__)) : ""; $InsertQuery->redirect($InsertGoTo); } ?>
setQuery("SELECT * FROM component_family ORDER BY component_family.name_componentfamily"); $fanilycatquery->execute(); ?> setQuery("SELECT * FROM component_family_type ORDER BY component_family_type.name_componentfamilytype"); $maincatquery->execute(); ?>

EasySpec

EasySpec: