7.x php compliant version of the attached hiloavg2.php script? - RESOLVED

Does anyone have a 7.x php compliant version of the attached hiloavg2.php script?


hiloavg2.php.txt (65.1 KB)

Sure… it was to replace all split() calls with explode() calls.
Try the attached.


hiloavg2.php.txt (65.1 KB)

Thanks Ken. I uploaded it where my old one was located and its displaying nothing. i’m thinking my menu page is calling something wrong. Can you look at the attached as this is what was calling hilowavg2.php in the past. Otherwise i’ll take a look at what I can find tonight.

Thanks so much.
John


wxhiloavg.php.txt (3.35 KB)

Your wxhiloavg.php has

include_once("hilowavg2.php")

but the script is named hiloavg2.php (no ‘w’ in the name), so change it to

include_once("hiloavg2.php")

BTW… it is working on my test site (PHP 7.2.13) here

:oops: - Thanks as I would have never caught that :slight_smile:

Outstanding - works perfectly. I’m now officially on php 7.3 - thanks for all your script updates !!!
John