Forum Moderators: coopster
I have a link in a text that need to be changed. The link is:
[example.no...]
which needs to be translated to:
[example.no...]
have the same problem with another link:
[example.no...]
needs to be translated to:
[example.no...]
Anyone know how this can be done? Thanks a lot.
[edited by: coopster at 3:41 pm (utc) on Oct. 22, 2004]
[edit reason] generalized url per TOS [webmasterworld.com] [/edit]
$link = "http://www.example.no/slideshow.html?show_id=225";
$new_line = str_replace('slideshow.html?show_id=', 'services/slideshow.php?slideshowId=', $link);
Does that help or do you have many link patterns?
Tom