Ok... i'm not too familiar with this...
i have a string
$string "This is cool<br>what is new here?";
and I want to replace the <br> with <p class=whatever>
I have:
$new_string = ereg_replace ("<p class=main>", "<br>", $string);
It isn't working though...
any advice?
Thanks,
-dr