
Home >
Experimental Code - these are functions obtained from other sites, such as www.carterlake.org or designed by us. No guaranties!
function dater($array,$n1,$n2,$n3)
{
$str='';
$str.='on: ';
$str.=$array[$n1]; //month
$str.='/';
$str.=$array[$n2]; //day
$str.='/';
$str.=$array[$n3]; //year
return $str;
}
Similar to getraw() this is an experimental php function which will parse a wx???.html array file, such as those produced by Weather Display and returns a text date, such as: "on: 02//4/06". It makes specific use of the .= operator for speed. If you use the php function getraw(), $array will be $wx_data and $n1, $n2, and $n3 will be the integer array offsets which correspond to month, day, and year.