htmlentities.php : htmlentities « HTML « PHP






htmlentities.php

 
<?php
   $advertisement = "'Caf Franaise";
   echo  htmlentities($advertisement);
?>
  
  








Related examples in the same category

1.Checking for magic quotes
2.Generating XML from an array
3.htmlentities() function converts all characters into their equivalent HTML entities.
4.Encoding HTML entities in a string
5.Escaping HTML