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 packagename='A6A'' at line 1 in /home/keiseinet/keisei-net.co.jp/config/function2.php:143
Stack trace:
#0 /home/keiseinet/keisei-net.co.jp/config/function2.php(143): mysqli_query(Object(mysqli), 'SELECT * from p...')
#1 /home/keiseinet/keisei-net.co.jp/public_html/details.php(757): db_query(Object(mysqli), 'SELECT * from p...')
#2 {main}
thrown in /home/keiseinet/keisei-net.co.jp/config/function2.php on line 143