How to string replace
Hi,
I hope somebody can help me with this.
I try to replace a string in the body of a php page to automaticaly insert rel='lightbox[serie] to make lightbox work while inserting photos within TinyMCE.
I created this code in the head section but it doesnot work:
<?php $imagetag = str_replace("<img", "<img rel='lightbox[serie]'", "<body>"); ?>
Where do I go wrong?
Your help is appreciated.
Jos
