Note: trouble with registration? See this for more info.
0 Members and 1 Guest are viewing this topic.
preg_match('|<pre[^>]*>(.*)</pre>|Usi',$html,$matches);
That undefined is caused by failure of the prior statement Code: [Select] preg_match('|<pre[^>]*>(.*)</pre>|Usi',$html,$matches);It's likely due to an incomplete page fetch from the NWS site, so the area with a forecast discussion wasn't found.
Sure.. best thing to do is to turn off Notice: errata from display.In your php.ini just put:error_reporting = E_ALL & ~E_NOTICE