Boubou

I am not too sure about this one(still new to the framework).

Would this way be ok?

protected function showTowns(){

  $towns = DB::table('my_towns')->get();

  return view('auth.register', dd($towns));

}

I tried that but I am getting no output for the var_dump().

Return to Thread...