I want to have the total rain for the last 24h, that means 24 values. But how do I continue after the letter z?
[seqhour1_rain0_total_mm#AE], [seqhour1_rain0_total_mm#FJ], [seqhour1_rain0_total_mm#KO], [seqhour1_rain0_total_mm#PT][seqhour1_rain0_total_mm#UY], ????????
seqhour1_rain0_total_mm: 0.00_0.00_0.00_0.00_0.33_0.30_0.69_0.00_0.0
ABCDEFGHIJKLMNOPQRSTUVWXYZ????????????????
Seqhour, get values for 24h
Moderator: Mattk
Re: Seqhour, get values for 24h
You can't do it that way as the numbers can be different length and there are not always at least 24 valuesArmond wrote: ↑Fri Jan 19, 2018 1:26 pm I want to have the total rain for the last 24h, that means 24 values. But how do I continue after the letter z?
[seqhour1_rain0_total_mm#AE], [seqhour1_rain0_total_mm#FJ], [seqhour1_rain0_total_mm#KO], [seqhour1_rain0_total_mm#PT][seqhour1_rain0_total_mm#UY], ????????
seqhour1_rain0_total_mm: 0.00_0.00_0.00_0.00_0.33_0.30_0.69_0.00_0.0
ABCDEFGHIJKLMNOPQRSTUVWXYZ????????????????
Code: Select all
0.00 0.00 0.00 0.00 0.33 0.30 0.69 0.00 0.0 or
0.00 99.10 0.00 11.00 0.33
Code: Select all
$array = explode (' ',$uploaded-value);
Code: Select all
for ($n=0;$n <= 23; $n++) // first - 23 hours array
{ if (isset ($arr_rain[$n]) )
{ $countRain = $countRain + 1.0*$arr_rain[$n]; }}
Wim
Re: Seqhour, get values for 24h
Thanks for the answer. I use asp.