well $session hasn't an index called 'name' try dd( $session ) and check its output
Form::text('option'.[$key]['name'] that looks bad syntax, try this: Form::text( 'option[' . $key . '...
what about this: return Category::find( $category_id )->products()->where( 'price', '<', 50...
i just note the "I" char in "Id" capitalized, is that a typo??
The Laravel portal for problem solving, knowledge sharing and community building.