Example #1
0
 public function editGeotagFoto(Request $request)
 {
     $objectid = $request->objectid;
     $foto = $request->foto;
     if ($request->ajax()) {
         $GeoTag = GeoTag::where('objectid', '=', $objectid)->first();
         $GeoTag->foto = $foto;
         //$GeoTag->personil = \Auth::user()->name;
         //$GeoTag->tanggal = Carbon::now();
         $GeoTag->save();
     }
     print $objectid . ' - ' . $foto;
 }