Warning: Undefined array key "start_date" in /home/ejazkhan/public_html/INFOST440/week12/example_code_week12/handle_date.php on line 3
Warning: Undefined array key "end_date" in /home/ejazkhan/public_html/INFOST440/week12/example_code_week12/handle_date.php on line 4
SELECT * FROM orders WHERE requiredDate <= '' AND requiredDate >= ''
Fatal error: Uncaught mysqli_sql_exception: Incorrect DATE value: '' in /home/ejazkhan/public_html/INFOST440/week12/example_code_week12/handle_date.php:9
Stack trace:
#0 /home/ejazkhan/public_html/INFOST440/week12/example_code_week12/handle_date.php(9): mysqli_query(Object(mysqli), 'SELECT * FROM o...')
#1 {main}
thrown in /home/ejazkhan/public_html/INFOST440/week12/example_code_week12/handle_date.php on line 9