질문
Q #11219
oracle insert시 escape_str
timothy
2014-03-17 13:44:27
ckeditor의 내용을 저장할려고 할 때,
본문에 홑따옴표("'")가 들어있으면 에러가 발생하여,
구글링을 했습니다.
참조 페이지와 같이, $str = str_replace("'", "''", $str);
위 항목을 system/database/drivers/oci8/oci8_driver.php에 추가하니까, 일단 되네요...
참조: http://ellislab.com/forums/viewthread/179202/
다른 좋은 방법 아시는 분 계시나요?
딱히 다른 방법은.... ^^