1 résultat trouvé

par dickheadnifty
13 janv. 2024, 14:59
Forum : Javascript
Sujet : Comment diviser une valeur recue ?
Réponses : 6
Vues : 11288

Re: Comment diviser une valeur recue ?

It looks like you want to divide the 'Vents' (wind) data by 10 in your PHP code before using it in the JavaScript part where you generate the chart. Here's how you can modify your PHP loop to achieve that: <?php $chartQuery = "SELECT * FROM ZiMeteo ORDER BY ID DESC LIMIT 144"; $chartQueryRecords = m...