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 's Leaf Mitsuba,%' and status = '1' and date_add < DATE_ADD(STR_TO_DATE('2024-...' at line 1 in C:\xampp\htdocs\mainfile\main.php:43
Stack trace:
#0 C:\xampp\htdocs\mainfile\main.php(43): mysqli->query('SELECT * FROM m...')
#1 C:\xampp\htdocs\index.php(57): include('C:\\xampp\\htdocs...')
#2 {main}
thrown in C:\xampp\htdocs\mainfile\main.php on line 43