Help with a page

How do i get rid of this notice i’ve tried everything thanks in advance -dan-
Notice: Uninitialized string offset: 0 in C:\xampp\htdocs\weather\WU-History-inc.php on line 1398
This is the page http://westsenecaweather.com/wxwuhistory.php

Running check-fetch-times.php?show=versions on your site shows you have a few script updates to do for the template set :slight_smile:

Your version of WU-history-inc.php is current :slight_smile:

Line 1398 is

		if(  $input[$i][0][0] == "2" || $input[$i][0][0] == "T") {

try changing that to

		if(  isset($input[$i][0][0]) and ($input[$i][0][0] == "2" || $input[$i][0][0] == "T")) {

and that should supress the Notice errata for line 1398
Line 1410 is

  if (! $useFopen) {

change it to

  if (true) {

and that should fix that one.

Thank you sir . did not even see Line 1410 :smiley: :smiley: :smiley:

Ken the drop down boxes not working not sure about the errors showing can you look at it again http://westsenecaweather.com/wxwuhistory.php thanks -dan-