我正在参加 editprofile 详细信息。 {strong}更新 Registercontroller.php
public function updateprofile(){
$id=Input::get('id');
//validation part;
$users= Register::find($id);
$users->name=Input::get('username');
$users->age=Input::get('age');
$users->email=Input::get('email');
$users->save();
}
editprofile.blade.php
<form action="updateprofile" method="post">
在某些字段中更改并更新后出现错误
Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException13.
Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
…\vendor\laravel\framework\src\Illuminate\Routing\RouteCollection.php210