Les utilisations possible de ‘htmlentities( )’

Author:


Download

<?php
$chaine = "<a href='#'><br/>Bienvenu sur mon site</a>";
print htmlspecialchars($chaine);
print htmlspecialchars($chaine, ENT_QUOTES);
print htmlspecialchars($chaine, ENT_NOQUOTES);
?>

Leave a Reply

Your email address will not be published. Required fields are marked *


× 2 = two