Fatal error: Uncaught mysqli_sql_exception: 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 'and `m1`< ) or (`y1`= and `m1`>) or (`y1`= and `m1`= and `d1`>)) AND `course...' at line 2 in /home/blackbird/public_html/filter_online1.php:138
Stack trace:
#0 /home/blackbird/public_html/filter_online1.php(138): mysqli_query(Object(mysqli), 'SELECT `course_...')
#1 /home/blackbird/public_html/programs-online/reference.php(3): include('/home/blackbird...')
#2 /home/blackbird/public_html/page/programs_view_online.php(41): include('/home/blackbird...')
#3 /home/blackbird/public_html/index.php(496): include('/home/blackbird...')
#4 {main}
thrown in /home/blackbird/public_html/filter_online1.php on line 138