';
?>
MB2 -
createKMLFromObj();
$sql = "INSERT INTO mb_meetingpoint VALUES ($1, $2, $3, $4, $5, $6)";
$v = array($kml->kml_id, $wmc_id, preg_replace("/&/", "&" , html_entity_decode($kml->kml)), $_SESSION["mb_user_id"], $_SESSION["mb_user_password"], $gui_id);
$t = array('s', 's', 's', 'i', 's', 's');
$res = db_prep_query($sql, $v, $t);
if (db_error()) {
echo "";
}
else {
if ($alert) {
echo "";
}
}
$filename = "../tmp/".$kml->kml_id.'.kml';
$handle = fopen($filename, "w");
fputs($handle, preg_replace("/&/", "&" , html_entity_decode($kml->kml)));
fclose($handle);
echo "Please feel free to add the kml_id."'>link to your meeting point to your website.
";
echo "kml";
}
?>