A script written for php5.5 throws an error on this part of the script:
The script should give me the totals of rain amounts in comparison to other months and years, and the same for the temperature trends.
on this site you can see the correct working page: https://www.leavening.org/wdisplay/raintemptrending.php
My server recently upgraded to PHP7.1, i have numerous scripts running and the major part is fixed, but this one keeps puzzling me.
$alltimeaverage = $avtempjan+$avtempfeb+$avtempmar+$avtempapr+$avtempmay+$avtempjun+$avtempjul+$avtempaug+$avtempsep+$avtempoct+$avtempnov+$avtempdec;
$avtempalltime = $alltimeaverage / 12;
$avtempalltime = round($avtempalltime,2);
echo "$avtempalltime" . $uomTemp;