I have this link:
<a href="">List of all members</a>
and this route:
Route::get('/list', 'NyfnController@list');
controller method:
public function list()
{
$users=User::orderBy('district_involved')->get();
return view('list')->with('users',$users);
}
But, i got the syntax error:
syntax error, unexpected 'list' (T_LIST), expecting identifier (T_STRING)
This works fine on localhost, but not on server.
via Steve