Ancre dans un php

Résolu
TRUNCKS Messages postés 1066 Statut Membre -  
TRUNCKS Messages postés 1066 Statut Membre -
Bonjour,

J'aimerai faire une ancre modifier dans un résultat php, mais je n'arrive pas à le présenter.
Pouvez vous m'aider:


<td align="center" valign="middle">&nbsp;<?php echo '<a href="contact.php5?mail='.$row_clients['mail'].'">echo $row_clients['mail']</a>';?>&nbsp;</td> 

2 réponses

  1. avion-f16 Messages postés 19182 Date d'inscription   Statut Contributeur Dernière intervention   4 511
     
    Salut,

    Essaye avec ceci :
    <td align="center" valign="middle">
        <a href="contact.php5?mail=<?php echo $row_clients['mail']; ?>">
            <?php echo $row_clients['mail']; ?>
        </a>
    </td>

    Par contre, ça ne s'appelle pas une ancre (ça, c'est en HTML avec les id).
    C'est simplement passer un argument par URL (GET).
    0
  2. TRUNCKS Messages postés 1066 Statut Membre 8
     
    Impeccable ! Merci encore !
    0