Echoing a string

Hello

anyone can explain me why this

$email=“<email@domain.com>”;
echo “<br>$email”;

returns nothing in browser instead of

<email@domain.com>

?

And how to echo exactly the string value <email@domain.com> ?

Thank you

Yes, it is trying to parse the <> as html tags.

Instead you need to use:

$email="<email@domain.com>";
echo "<br>$email";

Or

$email=htmlentities("<email@domain.com>");
echo "<br>$email";

Thank you