In a view, you can iterate over an array this way:
@foreach($mail as $email)
{{$email}}
@endforeach
To save them in the input, you can do it like this:
{{ Form::text('emalis', implode(" ", $mail)) }}
Or
<input name="first_name" type="text" value={{implode(" ", $mail)}}>
source
share