Posted by JD on 07/09/05 00:49
I have a blog type script, I would like to make it automaticly parse img
files in the blog entry somehow (ie; If I put "http://www.test.com/me.jpg"
it will parse it as "<img src="http://www.test.com/me.jpg" border=0
width="135">"
I'm new to PHP I have read about ereg and other functions like it but I'm
not sure how to achieve this, the output of my blog is from this
<?php echo $vEntries[$i]['entry']; ?>
Any help would be greatly appreciated.
- Jason
Navigation:
[Reply to this message]
|