我是laravel的新手,我嘗試將視圖中的值發佈到控制器。但我沒能獲得通過,因爲我得到錯誤說 FatalErrorException in routes.php line 26: Class 'registration' not found提交表格時 routes.php文件 Route::get('/', function() {
return view('welcome');
})
I am following this tutorial每分鐘安排一項功能。以下是我在localhost上的代碼。 class Kernel extends ConsoleKernel
{
protected $commands = [
'App\Console\Commands\Inspire',
];
protected function sche
我有以下查詢,工作正常,並給出結果爲StatusType AddOnModel::with('StatusType')->get();
但是,當我寫的下面,它不綁定StatusType記錄 AddOnModel
::select(\DB::Raw('A.AddOnID, A.AddOn, Count(R.AddOnID) as Total'))
->from('tblAddOn as A'