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 '' at line 1 in /home/www/cjs.ne.jp/front3_0_chintai/front_db.php:147 Stack trace: #0 /home/www/cjs.ne.jp/front3_0_chintai/front_db.php(147): mysqli_query() #1 /home/www/cjs.ne.jp/front3_0_chintai/front_db.php(2474): sql_select2() #2 /home/www/cjs.ne.jp/public_html/chintai/ctrl/info_building.php(280): setNewEquipment() #3 /home/www/cjs.ne.jp/public_html/chintai/tpl/detail_building_exit.tpl(4): include('...') #4 /home/www/cjs.ne.jp/public_html/chintai/index.php(239): require_once('...') #5 {main} thrown in /home/www/cjs.ne.jp/front3_0_chintai/front_db.php on line 147