Action = "insert"; $InsertQuery->Table = "contacts"; $InsertQuery->bindColumn("kindofcontacts", "s", "$kindofcontacts", "WA_DEFAULT"); $InsertQuery->bindColumn("companyname", "s", "$companyname", "WA_DEFAULT"); $InsertQuery->bindColumn("piva", "s", "$piva", "WA_DEFAULT"); $InsertQuery->bindColumn("address", "s", "$companyaddress", "WA_DEFAULT"); $InsertQuery->bindColumn("city", "s", "$city", "WA_DEFAULT"); $InsertQuery->bindColumn("cap", "s", "$cap", "WA_DEFAULT"); $InsertQuery->bindColumn("country", "s", "$country", "WA_DEFAULT"); $InsertQuery->bindColumn("telephone", "s", "$telephone", "WA_DEFAULT"); $InsertQuery->bindColumn("email", "s", "$email", "WA_DEFAULT"); $InsertQuery->bindColumn("contactname", "s", "$contactname", "WA_DEFAULT"); $InsertQuery->bindColumn("contactsurname", "s", "$contactsurname", "WA_DEFAULT"); $InsertQuery->bindColumn("tempcode", "s", "$tempcode", "WA_DEFAULT"); $InsertQuery->saveInSession(""); $InsertQuery->execute(); $InsertGoTo = ""; if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo?rel2abs($InsertGoTo,dirname(__FILE__)):""; $InsertQuery->redirect($InsertGoTo); } ?> Action = "insert"; $InsertQuery->Table = "contacts"; $InsertQuery->bindColumn("kindofcontacts", "s", "$kindofcontacts", "WA_DEFAULT"); $InsertQuery->bindColumn("companyid", "s", "$idcompany", "WA_DEFAULT"); $InsertQuery->bindColumn("tempcode", "s", "$tempcode", "WA_DEFAULT"); $InsertQuery->saveInSession(""); $InsertQuery->execute(); $InsertGoTo = ""; if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo?rel2abs($InsertGoTo,dirname(__FILE__)):""; $InsertQuery->redirect($InsertGoTo); } ?> setQuery("SELECT * FROM `trf-details` WHERE `trf-details`.idtrfdetails='$idtrf'"); $trfnumberfinal->execute(); $idcertn=$trfnumberfinal->getColumnVal("idcertification"); $idcertificate=$idcertn; $idarticletype=$trfnumberfinal->getColumnVal("idarticletype"); ?> TRF CIMAC



5%
20%
setQuery("SELECT * FROM certificationtype WHERE certificationtype.idcertificationtype='$idcertificate'"); $certtype->execute(); ?>
20%

">

setQuery("SELECT * FROM fileattached WHERE fileattached.idtrfdetails='$idtrf'"); $filenamelist->execute(); ?>

atEnd()) { $wa_startindex = $filenamelist->Index; ?> moveNext(); } $filenamelist->moveFirst(); //return RS to first record unset($wa_startindex); unset($wa_repeatcount); ?>
" target="_blank"> getColumnVal("description_fileattached")); ?> ">