app/Http/Controllers/CreditsController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $status = DB::table('users')
            ->join('cradits', 'users.id', '=', 'cradits.user_id')
            ->select('users.f_name', 'cradits.*')
            ->get();
        return view('admin.credit.list', compact('status'));
    }
public function index ( ) { $ status = DB :: table ( 'users' ) -> join ( 'cradits' , 'users.id' , '=' , 'cradits.user_id' ) -> select ( 'users.f_name' , 'cradits.*' ) -> get ( ) ; return view ( 'admin.credit.list' , compact ( 'status' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//