Barnesy41 / POSSY

A web-based point-of-sale system for my A-level NEA - this coursework achieved 100% for its final grade - this coursework did not assess CSS
0 stars 0 forks source link

Error when there are no sale items #4

Closed Barnesy41 closed 2 years ago

Barnesy41 commented 2 years ago

mysqli_query() returns false if there are no results, therefore producing an error when trying to use mysqli_fetch_assoc() to fetch the results of the query if no results were found (pointOfSale.php). This could also be an issue in other files.