Hi, I'm trying to figure out how to display a max value once it's been selected from the database. Here's a snippet of code that should give you an idea what I'm trying to do..
$SQLQuery1 = "select max(customerID) from customer";
$ResultSet2 = mysqli_query($DBConnect, $SQLQuery1);
if (!$ResultSet2)
die("<p>Unable to execute the query.</p>");
$Row1 = mysqli_fetch_assoc($ResultSet2);
echo $Row1['customerID'];
Thanks in advance for your help 🙂