Laravel put array into selectbox
问题 I am facing some problems with my selectbox, where i will put all available categories into the In my controller i am using this snip: return View::make("stories.add") ->with("title","Indsend novelle") ->with("categories", Category::all()); In my view i am trying to put all categories into the selectbox with this: {{Form::select("category", $categories)}} I could make this, but that won't work, because Form::select has to be as an array? @foreach ( $categories as $category ) {{$category->name