SELECT COUNT(id) AS SP_COUNTER FROM guestbook WHERE title like '%Goro's%' or tag like '%Goro's%'
执行错误: 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 's%' or tag like '%Goro's%'' at line 1


Fatal error: Uncaught Error: Call to undefined function ereg() in /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Misc/notice.php:51 Stack trace: #0 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Misc/notice.php(45): highlight_code() #1 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Misc/notice.php(25): getsource() #2 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/spFunctions.php(167): require_once('/www/wwwroot/xu...') #3 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Drivers/mysqli.php(62): spError() #4 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Drivers/mysqli.php(26): db_mysqli->exec() #5 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Core/spModel.php(257): db_mysqli->getArray() #6 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Core/spModel.php(438): spModel->findCount() #7 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Core/spModel.php(413): spPager->runpager() #8 /www/wwwroot/xunleikuaichuan.com/controller/main.php(108): spPager->__call() #9 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/spFunctions.php(21): main->sousuo() #10 /www/wwwroot/xunleikuaichuan.com/ind in /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Misc/notice.php on line 51