string replace

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mcog_esteban
Forum Contributor
Posts: 127
Joined: Tue Dec 30, 2003 3:28 pm

string replace

Post by mcog_esteban »

hi...
if i have this string :
$string = "Dark City http://www.imdb.com/title/tt0118929";
what should i do to change the string to :
$string = "Dark City | http://www.imdb.com/title/tt0118929";
User avatar
scorphus
Forum Regular
Posts: 589
Joined: Fri May 09, 2003 11:53 pm
Location: Belo Horizonte, Brazil
Contact:

Post by scorphus »

[php_man]str_replace[/php_man]() or may help you
Post Reply