From Demo:
AH01071: Got error 'PHP message: PHP 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 DATE(trip_date) BETWEEN '2000-10-30' AND '2023-11-05'\n ORDER BY tr...' at line 3 in demo.itflow.org/public_html/post/trip.php:71
Stack trace:\n#0 demo.itflow.org/public_html/post/trip.php(71): mysqli_query()\n#1 demo.itflow.org/public_html/post.php(75): require_once('...')\n#2 {main}\n thrown in demo.itflow.org/public_html/post/trip.php on line 71', referer: https://demo.itflow.org/trips.php