Hi,
Since 2 days it’s back again:
Notice: Undefined variable: winds in /var/www/vhosts/weersverwachtingen.eu/httpdocs/vooruitzicht.php on line 750
line 750 :
}
if ($i == 11 and ! $Bft) { $Bft = 12; };
return($Bft);
if ($wind < $winds[$i]) {
$Bft = $i;
break;
I have Units in m/s and the last scripts from plaintext-parser:
global $showBeaufort,$BeaufortMPH,$BeaufortKPH,$BeaufortKTS,$BeaufortMS;
switch ($units) {
case 'mph': $winds = $BeaufortMPH; break;
case 'kph': $winds = $BeaufortKPH; break;
case 'm/s': $winds = $BeaufortMS; break;
case 'mps': $winds = $BeaufortMS; break;
case 'kts': $winds = $BeaufortKTS; break;
} // end switch
$Bft = 0;
for ($i=0;$i<12;$i++) {
if ($wind < $winds[$i]) {
$Bft = $i;
break;
}
Am I missing a var ?
http://www.weersverwachtingen.eu/vooruitzicht.php