In Class Week 12
Warning: Undefined array key "start_date" in /home/rodri895/public_html/week12/handle_date.php on line 10
Warning: Undefined array key "end_date" in /home/rodri895/public_html/week12/handle_date.php on line 11
SELECT * FROM orders WHERE requiredDate <= '' AND requiredDate >= ''
Fatal error: Uncaught mysqli_sql_exception: Incorrect DATE value: '' in /home/rodri895/public_html/week12/handle_date.php:17
Stack trace:
#0 /home/rodri895/public_html/week12/handle_date.php(17): mysqli_query(Object(mysqli), 'SELECT * FROM o...')
#1 {main}
thrown in /home/rodri895/public_html/week12/handle_date.php on line 17