I need to use php to put several pints on a map, but I cannot get it
to work:

http://www.kaaxan.com/location-vacances-mexique.php

here is what you cannot see in the page, that does not work:
<?
    $query_prop = "SELECT * FROM kaa_propiedades";
    $prop = mysql_query($query_prop, $cnx) or die(mysql_error());
    $row_prop = mysql_fetch_assoc($prop);

while ($row_prop = mysql_fetch_array($prop)) {?>
    var point = new GPoint(<? echo $row_prop['longi']; ?>,<? echo
$row_prop['lati']; ?>);
    address = "<b><? echo $row_prop['titulo_spa'] ?></b><br/><? echo
$row_prop['ubicacion2'] ?>";
    var marker = createInfoMarker(point, address);
    map.addOverlay(marker);
<? } ?>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to