query("SELECT * FROM shift_pump_vw WHERE date='$date'");
//Shift 1
while ($row = $shiftPumpReport->fetchArray()) {
if ($row['number']==$shiftnum) {
print_r("
Shift Id: |
Shift Date: |
Shift Number |
Shift Opening: |
Shift Closing: |
");
print_r(
""
."".$row['shift_id']." | "
."".$row['date']." | "
."".$row['number']." | "
."".$row['open_date']." | "
."".$row['close_date']." | "
."
"
);
break;
}
}
?>