Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function cadastrar(Request $request)
- {
- $dados = $request->except('_token');
- $result = $request::create($dados);
- }
- <form method="post" action="{{route('cadastrar')}}">
- <input type="text" name="produto">
- <input type="text" name="descricao">
- <input type="text" name="modelo">
- <input type="submit" value="Ok">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement