<?php
$sql_p = "INSERT INTO ". $GLOBALS['prefix']->table('projects') . " (tbPONumber,tbClientID,tbInspectionDate) VALUES ('$tbPONumber','$tbClientID','" . $tbInspectionDate . "')";
$sql_r = "INSERT INTO ". $GLOBALS['prefix']->table('reports') . " (tbPONumber,tbReportNumber,tbProductName,tbClientID,tbInspectionDate,tbModelNO,tbClientPONo,tbOriginalQuantity,tbShippingQty,tbSerialNO,tbRemark,tbSampleSize,tbUnit,tbPiece,tbSpec) VALUES ('$tbPONumber','$re_number','$tbProductName','$tbClientID','" . $tbInspectionDate . "','$tbModelNO','$tbClientPONo','$tbShippingQty','$tbShippingQty','$tbSerialNO','$tbRemark','$tbSampleSize','$tbUnit','$tbPiece','$tbSpec')";
?>