$this->car_features = stripslashes(html_entity_decode($rows['features']));
이 작업이 정확합니까? 누구든지 확인할 수 있습니까? 미리 많은 감사드립니다!동시에 stripslashes와 html_entity_decode를 사용하십시오.
$this->car_features = stripslashes(html_entity_decode($rows['features']));
이 작업이 정확합니까? 누구든지 확인할 수 있습니까? 미리 많은 감사드립니다!동시에 stripslashes와 html_entity_decode를 사용하십시오.
HTML 엔터티를 디코딩 한 다음 슬래시를 제거한 다음 예를 수행하면됩니다.
처음에는 왜 슬래시가 들어 있습니까?
귀하의 질문에서 내가 추측 할 수있는 것은 모든 특수 문자를 이스케이프 처리하고 DB에 저장하기 위해 데이터를 소독하는 것입니다. 가정 할 때 PHP 5.2 또는 그 이상을 사용하는 경우 PHP Filters and Sanitizers을 찾습니다.