Bonjour ,
je souhaiterai appeler une fonction php dans une balise <a>,
j'ai fait ça, mais ça ne marche, est ce correcte cette manière de faire ?
Merci.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 <?php function test() { echo "test"; } ?> <a href="#" target="main_window" onclick=" <?php test() ;?>">Lien</a>
Partager