PHP dans un A HREF html
Résolu
pcsystemd
Messages postés
702
Date d'inscription
Statut
Membre
Dernière intervention
-
pcsystemd Messages postés 702 Date d'inscription Statut Membre Dernière intervention -
pcsystemd Messages postés 702 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
je cherche a insérer du php dans un A HREF mais je ne m'en sort pas voila le lien qu'est qui cloche dans ma synthaxe?
Merci
je cherche a insérer du php dans un A HREF mais je ne m'en sort pas voila le lien qu'est qui cloche dans ma synthaxe?
<div id="print-mail"><a id="href-print-mail" href="/print/<?php print "$node->id"; ?>Imprimer</a></div>
Merci
A voir également:
- PHP dans un A HREF html
- Editeur html - Télécharger - HTML
- Easy php - Télécharger - Divers Web & Internet
- Expert php pinterest - Télécharger - Langages
- Espace html ✓ - Forum HTML
- [**] Balise pour un espace vide en hml. Merci ✓ - Forum Webmastering
6 réponses
regarde ta balise <a> elle n est pas fermée
<a id="href-print-mail" href="/print/<?php print "$node->id"; ?>>Imprimer</a>
<a id="href-print-mail" href="/print/<?php print "$node->id"; ?>>Imprimer</a>
Là ca serait le href qui n'aurait pas son " de fin
<a id="href-print-mail" href="/print/<?php print "$node->id"; ?>">Imprimer</a>
<a id="href-print-mail" href="/print/<?php print "$node->id"; ?>">Imprimer</a>
<div id="print-mail"><a id="href-print-mail" href="/print/<?php print "$node->id"; ?>">Imprimer</a></div>
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question