I want to print following text as it is:
echo "<label> AAAAA";
But it is just showing 'AAAAA' as output.
How can I escape '<' and '>' symbol.
Use htmlspecialchars.
<?php echo htmlspecialchars("abc & < >"); ?>
1.4m articles
1.4m replys
5 comments
57.0k users