I'm interested in checking a string for a @ and, if it has one, do something like
HTML Code:
if(strstr($msg,'@'))
{
<a href="<? echo"$msg"; ?>">
}
I'm not sure how to implement this though. Can it be entered into the html or does it need to go with the php code at the top. And if it goes at the top, how do I enter it in the html?
TIA for the assistance.
|