bonsoir a tous
svp svp j'ai besoin d'aide pour corriger le script suivant
Code html : 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
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35 <SCRIPT LANGUAGE="JavaScript"> <!--- var refreshID = ""; refreshID = setTimeout("DoRefresh()", $timeout$); function DoRefresh() { var buster = Math.random(); document.location.href = 'playing.html?buster='+buster; } //---> </SCRIPT> <table border="1" width="98%" cellspacing="0" cellpadding="4"> <!--LOOP(query,"SELECT * date_played,FILEPATH,FILEBASENAME,artist,title,album FROM history WHERE (album LIKE '%ch%') ")--> !!!le problème est là je crois!!! <!--LOOP(history,1,1000)--> <!--LOOP_ROW--> <tr bgcolor="#ffffff"> <td><font size="2" color="#000000"><small>$history.date_played$</small></font></td> <td><font size="2" color="#000000"><small>$history.FILEPATH$</small> </font></td> <td><font size="2" color="#000000"><small>$history.FILEBASENAME$</small> </font></td> <td><font size="2" color="#000000"><small>$history.artist$</small></font></td> <td><font size="2" color="#000000"><small>$history.title$</small></font></td> <td><font color="#000000" size="4"><small>$history.album$</small></font></td> <td><p align="right"><font color="#000000" size="4"><small><strong>$history.mmss$</strong></small></font></td> </tr> <!--LOOP_END--> </table>
en principe il doit juste afficher les chansons qui contiennes le mot ch mais il affiche tout l'historique
merci pour toute suggestion
Partager