Action = "insert"; $InsertQuery->Table = "`template_importify`"; $InsertQuery->bindColumn("templatename", "s", "" . ((isset($_POST["templatename"])) ? $_POST["templatename"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("templatedescription", "s", "" . ((isset($_POST["templatedescription"])) ? $_POST["templatedescription"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("fileextension", "s", "" . ((isset($_POST["fileextension"])) ? $_POST["fileextension"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("idcompany", "i", "" . ((isset($_POST["idcompany"])) ? $_POST["idcompany"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("iduser", "i", "" . ((isset($_POST["iduser"])) ? $_POST["iduser"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("labname", "s", "" . ((isset($_POST["labname"])) ? $_POST["labname"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("createdon", "s", "" . ((isset($_POST["createdon"])) ? $_POST["createdon"] : "") . "", "WA_DEFAULT"); $InsertQuery->saveInSession(""); $InsertQuery->execute(); $InsertGoTo = "importifydashboard.php"; if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo ? rel2abs($InsertGoTo, dirname(__FILE__)) : ""; $InsertQuery->redirect($InsertGoTo); } ?>

EasySpec

Importify: Insert new template