<?php
error_reporting(E_ALL);
$userIDKey=$userListRow['id'];
include 'include/userConnect.php';
$beginDate=mysql_real_escape_string($_POST['begin']);
$endDate=mysql_real_escape_string($_POST['end']);
$auditTypeKey=mysql_real_escape_string($_POST['type']);
$branchKey=mysql_real_escape_string($_POST['branch']);
$d = "DROP Table if exists auditMgmt";
mysql_query($d) or die(mysql_error());
$c = "CREATE TABLE auditMgmt SELECT loan.loanKey,
loan.loanNumber,
borrower.lastName,
borrower.firstName,
audit.auditID,
loan.branchKey,
audit.trackingDate
FROM loan
JOIN audit USING (loanKey)
LEFT JOIN borrower USING (loanKey)
WHERE loan.branchKey='$branchKey'
AND audit.activeStatus='1'
AND auditTypeKey='$auditTypeKey'
AND borrower.type='1'
AND borrower.active='1'
AND trackingDate BETWEEN '$beginDate' AND '$endDate'
ORDER BY audit.auditID";
mysql_query($c) or die(mysql_error());
?>
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE