bonjour j'ai ce script
le problème c'est que je n'arrive pas à afficher une alerte
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 <table border="1"> <thead> <tr> <th>Mot</th> <th>Trouvé dans</th> </tr> </thead> <tbody> <?php foreach($found as $word => $files):?> <tr> <td><?php echo htmlspecialchars($word, ENT_QUOTES)?></td> <td><?php echo htmlspecialchars(implode(' - ', $files), ENT_QUOTES)?></td> </tr> <?php echo '<script type="text/javascript">alert($word,"touver dans" $fies);</script>'; ?> <?php endforeach?> </tbody> </table>
merci d'avance
Partager