Au secour retour de ligne php

bretonm2004 Messages postés 332 Statut Membre -  
bretonm2004 Messages postés 332 Statut Membre -
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



A voir également:

1 réponse

bugs2010
 
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>
0
bretonm2004 Messages postés 332 Statut Membre 2
 
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
0