Bonjour,
je suis en train d'afficher le contenu d'un champ commentaire (type LONGTXT) ,l'affichage est très bien mais pas les lignes vides(espace entre les lignes, retour à la ligne) , cé pr cela je sui obligé d'ajouté <br> dans mon texte
à votre avis , il n'a pas d"autre moyen ?
merci,
while($row = mysql_fetch_array($result)) {
echo '<html>';
echo '<table bgcolor=red>';
echo '<tr>';
echo '<td bgcolor="#FFFFFF">'.$row["commentaire"].'</td>';
echo '</tr>'."\n";
echo '</table>'."\n";
echo '<br>';
echo '<br>';
echo '</td>';
echo '</table>';
}
Configuration: Windows XP
Internet Explorer 7.0