I want to catch these lat,lng,and inf arrays inside javascript in html and then want to plot a map
while ($obj = $res->fetch_object()) // get all rows (markers)
{<br>
$lat[$mrk_cnt] = $obj->lat; // save the lattitude<br>
$lng[$mrk_cnt] = $obj->lng; // save the longitude<br>
$inf[$mrk_cnt] = $obj->MAXTEMP; // save the info-window<br>
$mrk_cnt++; // increment the marker counter<br>
}
<br>