query("SELECT * FROM shift_pump_vw WHERE date='$date'");
print_r("
");
while ($row = $shiftPumpReport1->fetchArray()) {
//print_r($row);
if ($row['number']==$shiftnum) {
$openVolume = $row['open_volume'];
$closeVolume = $row['close_volume'];
$saleTotal =$closeVolume-$openVolume;
$price= $row['price'];
$moneyTotal = $saleTotal*$price;
print_r(
"Pump Number
Fuel Grade
Pump Opening Volume
Pump Closing Volume
Sale Volume
(Closing Volume - Opening Volume)
Unit Price
Money
(Sale Volume x Unit Price)