Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND s.lotto_stage='14'' at line 1 in /var/www/html/hlgo.tw/include/db_connect/MYSQLI.inc.php:20
Stack trace:
#0 /var/www/html/hlgo.tw/include/db_connect/MYSQLI.inc.php(20): mysqli_query(Object(mysqli), 'SELECT s.id,CAS...')
#1 /var/www/html/hlgo.tw/lotto-2026-hlgo-festival.php(29): db_query(Object(mysqli), 'SELECT s.id,CAS...')
#2 {main}
thrown in /var/www/html/hlgo.tw/include/db_connect/MYSQLI.inc.php on line 20