รายละเอียดของการตอบ ::
มัน error นะครับ
Notice: Undefined variable: Date in C:\xampp\htdocs\booking\save.php on line 44
Notice: Undefined variable: MeetingRoom in C:\xampp\htdocs\booking\save.php on line 45
Notice: Undefined variable: Remark in C:\xampp\htdocs\booking\save.php on line 46
Notice: Undefined variable: emp_code in C:\xampp\htdocs\booking\save.php on line 47
Notice: Undefined variable: UserQTY in C:\xampp\htdocs\booking\save.php on line 48
Notice: Undefined variable: TimeStart in C:\xampp\htdocs\booking\save.php on line 49
Notice: Undefined variable: TimeEnd in C:\xampp\htdocs\booking\save.php on line 50
Notice: Undefined variable: id in C:\xampp\htdocs\booking\save.php on line 51
Notice: Undefined variable: id in C:\xampp\htdocs\booking\save.php on line 54
Notice: Undefined variable: TimeStart in C:\xampp\htdocs\booking\save.php on line 56
Notice: Undefined variable: TimeEnd in C:\xampp\htdocs\booking\save.php on line 56
Notice: Undefined variable: TimeStart in C:\xampp\htdocs\booking\save.php on line 57
Notice: Undefined variable: TimeEnd in C:\xampp\htdocs\booking\save.php on line 57
Notice: Undefined variable: TimeStart in C:\xampp\htdocs\booking\save.php on line 58
Notice: Undefined variable: TimeEnd in C:\xampp\htdocs\booking\save.php on line 59
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''Date'='' , booking.MeetingRoom='' , booking.Remark='' , booking....' at line 2
update booking as booking SET booking.'Date'='' , booking.MeetingRoom='' , booking.Remark='' , booking.emp_code='' , booking.UserQTY='' , booking.TimeStart='', booking.TimeEnd='' WHERE Booking_id = and ( not exists ( select Booking_id from booking where Booking_id <> and ( not ( (TimeStart BETWEEN '' and '') or (TimeEnd BETWEEN '' and '') or ('' BETWEEN TimeStart and TimeEnd ) or ('' BETWEEN TimeStart and TimeEnd ) ) ) ) )