Les utilisations possible de ‘htmlentities( )’

Author:


{filelink=12637}

<?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 *