"; echo ""; echo""; echo ""; echo "

Appointment booking method Patent Pending"; echo " LOGOUT

"; echo "
"; echo "

Thanks for your response!

"; $link_id = db_connect(); if(!link_id) die(sql_error()); $firsttime="1"; foreach($_POST as $appt => $is_it_auth) { if($firsttime) { $firsttime=0; } else { //echo $is_it_auth; $is_it_auth_query="UPDATE $authdb SET was_read=1 WHERE appt_id = '$appt'"; if($is_it_auth == "yes") { $is_it_auth_query2="UPDATE $apptdb SET auth_by_3rd=1 WHERE appt_id = '$appt'"; } else {//echo "The program says auth is no
"; $is_it_auth_query2="UPDATE $apptdb SET auth_by_3rd=-1 WHERE appt_id = '$appt'"; } $result_is_it=mysql_query($is_it_auth_query); if(!$result_is_it) {error_message("Ouch, mysql failed to execute!");} $result_is_it2=mysql_query($is_it_auth_query2); if(!$result_is_it2) {error_message("Ouch, mysql 2nd time failed to execute!");} } } echo "
If you want to check available appointments, click "; echo "here."; echo "


zappointments.com: online booking for health professionals

"; echo ""; ?>