Ecirture php

etre -  
kij_82 Messages postés 4089 Date d'inscription   Statut Contributeur Dernière intervention   -
Bonjour, j'aurai besoin d'un conseil, quelle est la meilleure forme :
1
echo "<table width=\"100%\" cellspacing=\"2\" cellpadding=\"2\" border=\"0\">"
echo "<tr>"
echo "<td>"


ou

2
echo '<table width=100% cellspacing=2 cellpadding=2 border=0>'
.'<tr>'
.'<td>'

A voir également:

2 réponses

Atchoum
 
Personellement, je le ferais comme ca:
echo "<table width=100% cellspacing=2 cellpadding=2 border=0>\n<tr>\n<td>";

Ce serat moins crade
0
kij_82 Messages postés 4089 Date d'inscription   Statut Contributeur Dernière intervention   857
 
Moins crade... à voir, nettement moins lisible... oui !

Je conseille la première solution.
0