where does form send to post code example
Example: post form data
@if($errors->any()) /* This
@foreach($errors->all() as $error) area is
{{ $error }}<br> to print
@endforeach message in
@endif the form */
<form method="post" action="submitmyform">
{{ csrf_field()}} // csrf token
<p>
<label>Name</label>
<input type="text" name="name" value="{{ old("name")}}"/>
</p>
<p>
<label>Email</label>
<input type="text" name="email" value="{{ old("email")}}"/>
</p>
<p>
<label>Age</label>
<input type="text" name="age" value="{{ old("age")}}"/>
</p>
<p>
<input type="submit" name="Submit">
</p>
</form>