Posted by yakuza on 06/11/06 22:59
hi Bacchus,
try this
put your vars in between # vars #
basically match and replace. you have to put other vars in an array for
multiple replace
$username="yakuza";
$message = "fhghghg #username# hdhhdhd";
$message = str_replace ("#username#", "$username", "$message");
echo $message;
best regards
yakuza
---------------------------
http://www.hosting-domain.co.uk/page.html
Navigation:
[Reply to this message]
|