1 pièce(s) jointe(s)
Problème avec des echo();
Bonjour,
J'ai un souci avec les echo qui font que le texte va pas la ou je le souhaiterais
Le screen est en P.J
Le code qui génère tout mes soucis ^^
---
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| $template_main .= '<table align="center">
<tr>
<th width="260" align="left" style="text-indent:5px;">'; echo $nom;
$template_main .= '</th>
<th>
<table style="border:none;">
<tr>
<td width="100" align="right">
<table class="main" bgcolor="#FFFFFF" border="0" cellspacing="1" cellpadding="0" width="100" height="10">
<tr bgcolor="#000000">';
echo '<td width="'.$valeur.'" bgcolor="'.$couleur.'"></td>';
$template_main .= '<td width="0"></td>
</tr>
</table></td>
<td width="45" align="center">';
echo $valeur;
$template_main .= '%</td>
</tr>
</table></th>
<th width="150" align="center">';
echo '<font color="'.$couleur.'">'.$statut.'</font>';
$template_main .= '</th>
</tr>
</table>'; |
D'avance, merci de votre aide
Selmac594