Code: Select all
$content = str_replace("[img]", "<img WIDTH=480 class='image_center' src='", $content);
$content = str_replace("[/img]", "'>", $content);
This works fine but I want to get the URL address of my images and use them as a link as well. I can't do it with this set up because it only replaces the tags, i want to get the url between the tags.
Any ideas?