[Forum] Liens sur tableau php
Bonjour,
Je n'arrive pas à lire le lien sur ce code.
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
| <?php
// on affiche les informations de l'enregistrement en cours
echo '<tr>';
echo '<td width="10%" align="center"><span class="coul1">' .$datas['nom'].' ' .'</span></td>';
echo '<td width="10%" align="center"><span class="coul1"><a href="' .$datas['site'].'"'.' ' .'"</a></span></td>';
echo '<td width="20%" align="center"><span class="coul1">' .$datas['societe'].' ' .'</span></td>';
echo '<td width="11%" align="center"><span class="coul1">' .$datas['metier'].' ' .'</span></td>';
echo '<td width="16%" align="center"><span class="coul1">' .$datas['adresse1'].' ' .'</span></td>';
echo '<td width="5%" align="center"><span class="coul1">' .$datas['cp'].' ' .'</span></td>';
echo '<td width="12%" align="center"><span class="coul1">' .$datas['ville'].' ' .'</span></td>';
echo '<td width="8%" align="center"><span class="coul1">' .$datas['tel'].' ' .'</span></td>';
echo '<td width="8%" align="center"><span class="coul1">' .$datas['portable'].' ' .'</span></td>';
echo '</tr>'; |
C'est cette ligne qui me fait soucis !
Code:
1 2
| <?php
echo '<td width="10%" align="center"><span class="coul1"><a href="' .$datas['site'].'"'.' ' .'"</a></span></td>'; |
Au fait, comment ajouter votre balise code ?
Merci d'avance de votre réponse...