removing an image
I have a blog panel which summarises the content and title of the most recent post. If an image is added to the main content area this also gets added to the panel.
How would I remove the image from the panel... I have tried
<?php echo(str_replace(array("<p>","</p>","<img />","<a>","</a>"),"",(substr($row_BlogRS['BlogContent'],0,120)." ..."))); ?>
Thats doesnt work so just wondering if you could give me a steer please?