EasySpec

getColumnVal("idanalysiscomponent"); if (empty($idancompo)) { if ($kindofrole == '3') { $InsertQuery = new WA_MySQLi_Query($repnew); $InsertQuery->Action = "insert"; $InsertQuery->Table = "analysis_componenttemplate"; $InsertQuery->bindColumn("idanalysis", "i", "" . ((isset($_POST["idanalysis"])) ? $_POST["idanalysis"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("idcomponent", "i", "" . ((isset($_POST["component"])) ? $_POST["component"] : "") . "", "WA_DEFAULT"); $InsertQuery->saveInSession(""); $InsertQuery->execute(); $InsertGoTo = ""; if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo ? rel2abs($InsertGoTo, dirname(__FILE__)) : ""; $InsertQuery->redirect($InsertGoTo); } else { $InsertQuery = new WA_MySQLi_Query($repnew); $InsertQuery->Action = "insert"; $InsertQuery->Table = "analysis_component"; $InsertQuery->bindColumn("idanalysis", "i", "" . ((isset($_POST["idanalysis"])) ? $_POST["idanalysis"] : "") . "", "WA_DEFAULT"); $InsertQuery->bindColumn("idcomponent", "i", "" . ((isset($_POST["component"])) ? $_POST["component"] : "") . "", "WA_DEFAULT"); $InsertQuery->saveInSession(""); $InsertQuery->execute(); $InsertGoTo = ""; if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo ? rel2abs($InsertGoTo, dirname(__FILE__)) : ""; $InsertQuery->redirect($InsertGoTo); } ?>
setQuery("SELECT * FROM `analysisvocabulary` WHERE analysisvocabulary.idanalysisvocabulary='$idanalysis'"); $tablequery->execute(); ?> setQuery("SELECT * FROM compundsvocabulary WHERE preferred='Y' ORDER BY compundsvocabulary.namecompoundsvocabulary"); $componentlist->execute(); ?> setQuery("SELECT * FROM analysis_component LEFT JOIN compundsvocabulary ON analysis_component.idcomponent=compundsvocabulary.idcompoundsvocabulary WHERE analysis_component.idanalysis=$idanalysis ORDER BY compundsvocabulary.namecompoundsvocabulary"); $companalysis->execute(); ?>

Analysis: getColumnVal("nameanalysisvoc"); ?>


atEnd()) { $wa_startindex = $companalysis->Index; ?> moveNext(); } $companalysis->moveFirst(); //return RS to first record unset($wa_startindex); unset($wa_repeatcount); ?>
CAS
getColumnVal("namecompoundsvocabulary"); ?> getColumnVal("cascompoundvocabulary"); ?>