$con = mysql_connect("localhost","root","1234") or die('Could not connect: ' . mysql_error());
mysql_select_db("salesforce",$con) or die ("Can not connect database");
mysql_query("SET NAMES UTF8");
$max="Select Max(schedule_id) as schedule_id from schedule";
$total = mysql_query($max) or die(mysql_error());
$id = $total + 1;
echo $_GET["id"];
mysql_close($con);
?>