Q:

str_ireplace


<?php
$bodytag = str_ireplace("%body%", "black", "<body text=%BODY%>");
echo $bodytag; // <body text=black>
?>

1

Related

New to Communities?

Join the community