
Richard Lytle - 2017-05-03 14:04:19
I am trying to load markers from a mysql db using mysqli functions. I use the following code:
while ($row = mysqli_fetch_assoc($schoolResult)){
$map->addMarker($row['latitude'], $row['longitude'], array(
'title' => $row['schoolName']
));
}
If I attempt to create the markers the map does not display. If I don't create the markers the map does display. Do you know why this is happening?
Thanks.