"; // Boundary $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; // Headers for attachment $headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\""; // Multipart boundary $message = "--{$mime_boundary}\n" . "Content-Type: text/html; charset=\"UTF-8\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $htmlContent . "\n\n"; // Send email $mail = @mail($to, $subject, $message, $headers, $returnpath); */ ?> Action = "update"; $UpdateQuery->Table = "`trf-details`"; $UpdateQuery->bindColumn("csincharge", "s", "$csincharge", "WA_DEFAULT"); $UpdateQuery->bindColumn("datecsincharge", "s", "$datecsincharge", "WA_DEFAULT"); $UpdateQuery->addFilter("idtrfdetails", "=", "i", "" . ($idtrf) . ""); $UpdateQuery->execute(); $UpdateGoTo = ""; if (function_exists("rel2abs")) $UpdateGoTo = $UpdateGoTo ? rel2abs($UpdateGoTo, dirname(__FILE__)) : ""; $UpdateQuery->redirect($UpdateGoTo); ?> setQuery("SELECT * FROM `trf-details` WHERE `trf-details`.idtrfdetails='$idtrf'"); $trfnumberfinal->execute(); ?> getColumnVal("idcertification"); $idcert = $trfnumberfinal->getColumnVal("idcertification"); ?> setQuery("SELECT * FROM certificationtype WHERE certificationtype.idcertificationtype='$idcert'"); $certname->execute(); ?>