setQuery("SELECT * FROM stdprotectioncat WHERE stdprotectioncat.idprotectioncategory='$idprotcheck' AND stdprotectioncat.idstandards='$idstandards'"); $protcheck->execute(); if (empty($protcheck->getColumnVal("idstdprotectioncat"))) { $InsertQuery = new WA_MySQLi_Query($cmctrfdb); $InsertQuery->Action = "insert"; $InsertQuery->Table = "stdprotectioncat"; $InsertQuery->bindColumn("idstandards", "i", "$idstandards", "WA_DEFAULT"); $InsertQuery->bindColumn("idprotectioncategory", "i", "".((isset($_POST["protcat"]))?$_POST["protcat"]:"") ."", "WA_DEFAULT"); $InsertQuery->saveInSession(""); $InsertQuery->execute(); $InsertGoTo = ""; if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo?rel2abs($InsertGoTo,dirname(__FILE__)):""; $InsertQuery->redirect($InsertGoTo); }} ?> setQuery("SELECT * FROM standards WHERE standards.idstandards='$idstandards'"); $standarddetail->execute(); $idarttypen=$standarddetail->getColumnVal("idarticletype"); echo $idarttypen; ?> setQuery("SELECT * FROM protectioncategory ORDER BY protectioncategory.name_protectioncategory "); $protectioncategorylist->execute(); ?> setQuery("SELECT * FROM stdprotectioncat LEFT JOIN standards ON stdprotectioncat.idstandards=standards.idstandards LEFT JOIN protectioncategory ON protectioncategory.idprotectioncategory=stdprotectioncat.idprotectioncategory WHERE stdprotectioncat.idstandards='$idstandards' "); $selectprotcatstd->execute();?> TRF CIMAC

Standards: getColumnVal("standardcode")); ?> - getColumnVal("standardname")); ?>

Aggiungi le categorie di protezione per questo standard

atEnd()) { $wa_startindex = $selectprotcatstd->Index; ?> moveNext(); } $selectprotcatstd->moveFirst(); //return RS to first record unset($wa_startindex); unset($wa_repeatcount); ?>
Protection Category Action
getColumnVal("name_protectioncategory")); ?> ">

Standards: getColumnVal("standardcode")); ?> - getColumnVal("standardname")); ?>

Aggiungi le categorie di protezione per questo standard