You are using Laravel11. However, you are looking at a tutorial for a very old version. You have to look at the official documentation and official tutorials. https://laravel.com/docs/11.x/installation Just use the breeze blade stack. 0 Reply can you show me your base controlle...
为什么我无法将数据从UserController获取到Laravel 9中的user.blade.php文件? 视图函数需要一个关联数组作为第二个参数(参见文档)。数组的每个键在刀片视图中都有一个等效变量。 因此,您应该回答以下两种情况之一: return view("user", ['data' => $data]); 或者使用PHP的compact助手 return view("user", compa...
Route::any('role/assign','Admin\RoleController@assign'); Route::any('member/index','Admin\MemberController@index'); Route::any('member/add','Admin\MemberController@add'); Route::any('member/getAreaById','Admin\MemberController@getAreaById'); Route::any('uploader/webuploader','Admin\Uploade...
// AJAX CALL ROUTE ERROR : The GET method is not supported for this route. Supported methods: POST. Laravel 17 1,193 Level 1 shan2590 OP Posted 4 years ago when i'm call post method it's show this error but it's working with get method. why is th...
How to display values in returned from ajax call in tabular format Laravel? Guys I have a data in table which I displayed in view.blade in tabular format This is the codeCopy Search Date Time Purchased Milk (Lt) Self Milk (Lt) Total Milk (Lt) Sold Milk (Lt)...
So in your Company model add this: public function companyOtherInfo() { return $this->hasOne(CompanyOtherInfo::class); } Then you should be able to update as you do in your controller. 0 Level 3 Kanchan186 OP Posted 5 years ago @nakov sir, ...