Hello
Je veux afficher apres requete SQL mes données comme suit:
&data=<P><BOLD>date0</BOLD></BR>contenu0</P><P><BOLD>date1</BOLD></BR>contenu1</P>.......etc
sauf que avec echo il interprete les balises HTML...
Comment faire ??
Merci
$chaine = "<b>ma chaine</b>";
echo $chaine;
echo "<br>";
$chaine = htmlentities($chaine);
echo $chaine;
affichera :
[/quote]ma chaine
<b>ma chaine</b>