savez-vous comment je peut faire pour passer de :
Code : Tout sélectionner
<span style="font-weight: bold; size: 24px;">
<
</span>
br
<span style="font-weight: bold; size: 24px;">
/>
<
</span>
?php
<span style="font-weight: bold; size: 24px;">
<
</span>
br
<span style="font-weight: bold; size: 24px;">
/>
</span>
<a href="http://www.php.net/echo">
<span style="color: rgb(0, 51, 153); background-color: rgb(234, 244, 254);">
echo
</span>
</a>
<span style="color: rgb(204, 0, 0);">
'<br /> <html><br /> <a><br /> <font>Haaaa</font><br /> </a><br /> </br><br /> <br /> <a><br /> <font>AaaahRRrr</font><br /> </a><br /> <br /> <a><br /> <font>Bouuh</font><br /> </a><br /> <br /> </html><br /> '
</span>
<span style="font-weight: bold; size: 24px;">
;<
</span>
br
<span style="font-weight: bold; size: 24px;">
/>
</span>
?
<span style="font-weight: bold; size: 24px;">
>
<
</span>
br
<span style="font-weight: bold; size: 24px;">
/>
</span>
je l'est mis exprès en citation car c'est le code qui doit s'afficher pour le visiteur, en gardant la coloration du code ici dans les span...<?php
echo'
<html>
<a>
<font>Haaaa</font>
</a>
</br>
<a>
<font>AaaahRRrr</font>
</a>
</br>
<a>
<font>Bouuh</font>
</a>
</html>
';
?>
le problème c'est que j'utilise tiny_mce donc j'ai des </br> en plus ^^
certaine fois on fait un retour à la ligne d'autre on affiche </br>
Merci, tout solution accepté...