모듈을 처음 만들어 보는데요
쿼리를 넣을 string을 디버그 해보면 DEBUG : string('./files/attach/images/65/004/1c645b1360eea53ca0d7e4da318db184.jpg')
로 정상적으로 나오는데
위에 쿼리를 실행하면
[error] => 1064
[message] => 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 '/`files`/`attach`/`images`/65/004/`1c645b1360eea53ca0d7e4da318db184`.`jpg`)' at line 3
[variables] => Array
(
[_query] => INSERT INTO `xe_sgame_files`
(`member_srl`, `file_srl`, `file_name`, `url`)
VALUES (4, 179, `1522faccf9f52fe078a7df939741e54a`.`jpg`, ./`files`/`attach`/`images`/65/004/`1c645b1360eea53ca0d7e4da318db184`.`jpg`)
[_elapsed_time] => 0.00021
)
이런 오류가 나옵니다.
어떻게 해결하는건지 모르겠네요.. 도와주세요