SHOW TABLESを呼び出すだけで、1064構文エラーが発生します。
$query = $this->db->query("SHOW TABLES LIKE docx_setting");
次のエラーを返します。
Notice: Error: 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
'docx_setting' at line 1
Error No: 1064
SHOW TABLES LIKE docx_setting in
/home/username/dev/web/application/system/database/mysql.php on line 50
私はかなりグーグルで検索しましたが、構文に問題はありません。LIKEは1つのパターンしかサポートしないため、これで問題ありません。
何か案は?
ありがとう。
--Vince