where('icerik_durum','1')->orderBy('icerik_id','desc')->get('content')->result(); } function label_list($data){ return DB::like('icerik_tag',$data)->get('content')->result(); } function content($id){ $content = DB::where('id',$id)->get('content')->row(); $say = $content->hits + 1; DB::where('id',$id)->update( 'content',[ 'hits' => $say, ]); return $content; } }