app/Http/Controllers/ResultController.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()
    {
        $results = Result::paginate(7);
        return view('userdata', compact('results'));
    }
public function index ( ) { $ results = Result :: paginate ( 7 ) ; return view ( 'userdata' , compact ( 'results' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//