Time : 11:19:39 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '[0]'' at line 1 Raw SQL : SELECT * FROM 2019_epilogue_relate WHERE del = 'N' AND self_view = '4216'[0]' Time : 02:59:44 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.$i['seq'].'.jpg'' at line 1 Raw SQL : SELECT * FROM b_link WHERE shorten = 'front/epilogue/img/a1b'.$i['seq'].'.jpg' Time : 02:50:08 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'self_view']?>'' at line 1 Raw SQL : SELECT * FROM 2019_epilogue_relate WHERE del = 'N' AND self_view = '' Time : 01:14:11 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''A=0 DESC LIMIT ?, ?' at line 1 Raw SQL : SELECT no, best, store, insert_date, name, title, content, hit FROM 2015_epilogue WHERE no > :no AND d_show = :show AND del = :del AND sort = :sort AND tag LIKE :tag ORDER BY 'A=0 DESC LIMIT :startNum, :rowCount