siamon123 / warehouse-inventory-system

Open source inventory management system with php and mysql
http://www.oswapp.com
MIT License
379 stars 233 forks source link

Parssing error #61

Open Dereje548 opened 1 month ago

Dereje548 commented 1 month ago

( ! ) Parse error: syntax error, unexpected ',' in C:\wamp\www\InventorySystem_PHP\report.php on line 77

<?php @include 'config.php';

?>

<!DOCTYPE html>

EPSS Page

VRF Submission to EPSS and EPSS Vaccine Distribution Analysis

query($sql); // Check if the query was successful if ($result && $result->num_rows > 0) { // Fetch the result as an associative array $row = $result->fetch_assoc(); $total1 = $row['timely_count1']; $total2 = $row['timely_count2']; $total3 = $row['timely_count3']; $total4 = $row['timely_count4']; $total_result = $total1 + $total2; $total_perc = $total1+$total2+$total3+$total4; $percent = ($total_result * 100) / $total_perc; $percent1 = round($percent, 1); } else { echo "

No records found

"; } } ?>
TIMELY VRF SUBMITTED VRF LATELY SUBMITTED YET NOT SUBMITTED TOTAL VRF SUBMITTED PERCENTAGE OF SUBMITTED
query($sql); // Check if the query was successful if ($result && $result->num_rows > 0) { // Fetch the result as an associative array $row = $result->fetch_assoc(); $totald1 = $row['timely_count1']; $totald2 = $row['timely_count2']; $totald3 = $row['timely_count3']; $totald4 = $row['timely_count4']; $total_resultd = $totald1 + $totald2; $total_perc = $total1+$total2+$total3+$total4; $percentd = ($total_resultd * 100) / $total_perc; $percentd1 = round($percentd, 1); } else { echo "

No records found

"; } } ?>
TIMELY DELIVERD LATELY DELIVERD YET NOT DELIVERD TOTAL DELIVERD PERCENTAGE OF DELIVERY