Complete save.php so that kml string can be saved successfully to mysql database.