ive used this function "str_replace" to replace a comment in a template,
i was wondering what i'd have to do to use it more than once
e.g.
$msg[$i] = str_replace("<!--EMAIL-->", $row['email'], $message);
$msg[$i] = str_replace("<!--NAME-->", $row['name'], $message);
is that acceptable?
or do i need something like a seperate array set up for each variable to be replaced?