Warning: Undefined array key "service_date" in /home/updhnlk/public_html/phpCodes/save_app.php on line 8
Warning: Undefined array key "nbr" in /home/updhnlk/public_html/phpCodes/save_app.php on line 9
Warning: Undefined array key "slot_number" in /home/updhnlk/public_html/phpCodes/save_app.php on line 10
Warning: Undefined array key "slot_time" in /home/updhnlk/public_html/phpCodes/save_app.php on line 11
Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /home/updhnlk/public_html/phpCodes/save_app.php on line 11
Fatal error: Uncaught mysqli_sql_exception: Cannot add or update a child row: a foreign key constraint fails (`updhnlk_eapp`.`service_date_app`, CONSTRAINT `service_date_app_ibfk_1` FOREIGN KEY (`service_date_id`) REFERENCES `service_date` (`service_date_id`)) in /home/updhnlk/public_html/phpCodes/save_app.php:36
Stack trace:
#0 /home/updhnlk/public_html/phpCodes/save_app.php(36): mysqli->query('INSERT INTO ser...')
#1 {main}
thrown in /home/updhnlk/public_html/phpCodes/save_app.php on line 36