Ecirture php

etre -  
kij_82 Messages postés 4102 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>'


--
Merci !
Configuration: Linux
Firefox 2.0.0.3

2 réponses

  1. 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
  2. kij_82 Messages postés 4102 Date d'inscription   Statut Contributeur Dernière intervention   857
     
    Moins crade... à voir, nettement moins lisible... oui !

    Je conseille la première solution.
    0