I want to print following text as it is:
echo \" AAAAA\";
But it is just showing \'AAAAA\' as output.
How can I esca
check this http://php.net/manual/en/function.htmlentities.php, and this is code -
echo htmlentities ("<label> AAAAA");
<?php $string = "<label> AAAAA"; //whatever you want echo htmlspecialchars($string); ?>
refrence htmlspecialchars