execute($sql); $result = $tmp->get_result(); while ($row = mysql_fetch_assoc($result)) { $position[$row["id"]] = $row["lon"] . ", " . $row["lat"]; } $m->free_result(); $datafile = "/tmp/www/status.f.dat"; $lines = file($datafile); $roadalarm = 0; #head(); ?> ";?>
"; #tail(); ?>