Jump to content

Help with undefined error


jjkessler

Recommended Posts

Again, I am getting an undefined error for clusterer. I think I am missing "" somewhere

$result = mysql_query("SELECT * FROM MainTable",$link);
if (!$result)
{
echo "no results ";
}
while($row = mysql_fetch_array($result))
{
        echo "var point = new GLatLng(" . $row['lon'] . "," . $row['lat'] .
");\n";
        echo "var marker = createMarker(point, '" .
addslashes($row['ResourceName']) . "');\n";
        echo "clusterer.AddMarker(marker, '" .
addslashes($row['ResourceName']) . "');\n";

}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.