function save()
 {
     $location = new stdClass();
     $location->id = $_POST['id'];
     $location->title = $_POST['title'];
     $location->description = $_POST['description'];
     $location->lat = $_POST['lat'];
     $location->lng = $_POST['lng'];
     $db = new KKL_DB();
     return $db->createOrUpdateLocation($location);
 }