Bonjour,
Je souhaite afficher qu'une fois la ligne ou les noms de colonnes sont afficher.
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
18
19
20
21
22
23
24
25
26
27
28
29
30 // on affiche les résultats sous forme de tableau html echo "<tr> <th>Numéro Boitier</th> <th>Date_Heure</th> <th>Mesure à 0,3 µm</th> <th>Mesure à 0,5 µm</th> <th>Mesure à 1 µm</th> <th>Mesure à 2,5 µm</th> <th>Mesure à 5 µm</th> <th>Mesure à 10 µm</th> <th>Lagitude</th> <th>Longitude</th> </tr>"; echo "<tr> <td>".$data['Num_boitiers']."</td> <td>".$data['Date_Heure']."</td> <td>".$data['PM0_3']."</td> <td>".$data['PM0_5']."</td> <td>".$data['PM1']."</td> <td>".$data['PM2_5']."</td> <td>".$data['PM5']."</td> <td>".$data['PM10']."</td> <td>".$data['Latitude']."</td> <td>".$data['Longitude']."</td>"; echo "</tr>" ; } echo "</table>";
Merci d'avance pour vos réponse
Baptiste
Partager