On 22-Aug-2003, "Milan" <milan@websolutions.co.yu> wrote:
> I need to modify src attributes of all <img> tags in a $string (eg. <img
> src="test.gif"> to <img src="1.gif">).
>
> Does anyone has any idea?
$string = str_replace('"test.gif"','"1.gif"',$string);
http://www.php.net/manual/en/function.str-replace.php
--
Tom Thackrey
www.creative-light.com