課程
/后端開發(fā)
/PHP
/輕松學(xué)會Laravel-表單篇
在修改頁面點擊左側(cè)選項卡鏈接就會變成http://127.0.0.1/laravel/public/student/update/index
2017-09-10
源自:輕松學(xué)會Laravel-表單篇 2-7
正在回答
//新增學(xué)生頁面Route::get('student/create', 'StudentController@create')->name('create');//保存新增學(xué)生請求Route::post('student/create', 'StudentController@create')->name('create');
舉報
Laravel框架是世界上最流行的PHP框架,沒有之一
2 回答性別 無法響應(yīng)到 修改頁面
1 回答我點擊“修改”跳出的修改頁面沒有顯示之前的信息,提交之后既沒有增加也沒有改動
1 回答修改驗證出錯
2 回答請問老師,為啥分頁的鏈接最后會多了一個“/”,故會導(dǎo)致點擊分頁跳轉(zhuǎn)時會提示找不到頁面
1 回答求解答(新增頁面有問題)
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2017-10-02
//新增學(xué)生頁面
Route::get('student/create', 'StudentController@create')->name('create');
//保存新增學(xué)生請求
Route::post('student/create', 'StudentController@create')->name('create');