Hey, I need to delete all images from a string and I just can\'t find the right way to do it.
Here is what I tryed, but it doesn\'t work:
preg_replac
$this->load->helper('security'); $h=mysql_real_escape_string(strip_image_tags($comment));
If user inputs
In the database table just insert character this #
Works for me