Hi is there any function that can limit or remove more than 1 img tags in a string?
<?php
$string = "<img src=1> this is text <img src=2> <img src=3> here\'s some text <img src=4>";
echo limitImage($string);
function limitImage {
// Some function to do remove more than 1 img tags ..
}
?>
THANK YOU