Au secour retour de ligne php

Bonjour,

quand j'affiche cette variable le tableau s'agrandi au lieu de faire un retour de ligne

<table width="401" height="215" border="0">
<tr>
<td width="65" valign="top">Message:</td>
<td width="326" align="left" valign="top"><? echo $row["message"];?></td>
</tr>
</table>

merci

1 réponse

  1. essaye ca si j'ai bien compris ce que tu voulais ^^

    <table width="401" height="215" border="0">
    <tr>
    <td width="65" valign="top">Message:</td>
    </tr>
    <tr>
    <td width="326" align="left" valign="top"><? echo $row["message"];?></td>
    </tr>
    </table>
    1. non dsl ca ne fonctionne pas j ai essayé tout ca

      mais en fouillant sur internet pour ceux a qui ca peut poser probleme voici la solution

      $row['message'] = wordwrap($row['message'], 50, "<br />\n");

      la fonction wordwrap