<?php include 'configuration.php'; $sql= mysql_query("select max(booking_id) from booking "); if(!$sql){echo "syntax error";}else{ while($row = mysql_fetch_array($sql)){ $booking_id = $row['booking_id']; echo $booking_id; } } ?>
$row = mysql_fetch_array($result); $booking_id = $row[0]; echo $booking_id;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)