Action = "update"; $UpdateQuery->Table = "`template_importify`"; $UpdateQuery->bindColumn("templatename", "s", "" . ((isset($_POST["templatename"])) ? $_POST["templatename"] : "") . "", "WA_DEFAULT"); $UpdateQuery->bindColumn("templatedescription", "s", "" . ((isset($_POST["templatedescription"])) ? $_POST["templatedescription"] : "") . "", "WA_DEFAULT"); $UpdateQuery->bindColumn("fileextension", "s", "" . ((isset($_POST["fileextension"])) ? $_POST["fileextension"] : "") . "", "WA_DEFAULT"); $UpdateQuery->bindColumn("idcompany", "i", "" . ((isset($_POST["idcompany"])) ? $_POST["idcompany"] : "") . "", "WA_DEFAULT"); $UpdateQuery->bindColumn("iduser", "i", "" . ((isset($_POST["iduser"])) ? $_POST["iduser"] : "") . "", "WA_DEFAULT"); $UpdateQuery->bindColumn("labname", "s", "" . ((isset($_POST["labname"])) ? $_POST["labname"] : "") . "", "WA_DEFAULT"); $UpdateQuery->bindColumn("modifiedon", "s", "" . ((isset($_POST["updateon"])) ? $_POST["updateon"] : "") . "", "WA_DEFAULT"); $UpdateQuery->addFilter("idimporttemplates", "=", "i", "" . ($_GET['idimporttemplates']) . ""); $UpdateQuery->execute(); $UpdateGoTo = "importifydashboard.php"; if (function_exists("rel2abs")) $UpdateGoTo = $UpdateGoTo ? rel2abs($UpdateGoTo, dirname(__FILE__)) : ""; $UpdateQuery->redirect($UpdateGoTo); } ?> setQuery("SELECT * FROM template_importify WHERE template_importify.idimporttemplates='$idimporttemplates'"); $updatequery->execute(); ?>