این con."/> این con."/> این con"/>
خرید بک لینک

الان همین کار رو کردم
اسم دادم
همین شکل
این خظا رو داد
MethodNotAllowedHttpException

این فرم منه

<form role="form" method="post" action="{{route('store')}}">

این controller من

public function store(Request $request){                
$title = $request->input('title');
$owner_id = 1;
DB::table('customrs')->insert( [ 'title' =>$title , 'owner_id' => 1 ]);

// Redirect
return Redirect::route('store')->with('message', 'DONE!!!!!'); }
}

اینم route

Route::get('store', [    'as' => 'store', 'uses' => 'customersController@store']);

نمیره توی پیجی که میخوام

برچسب: نویسنده: محمد رضا جوادیان تاريخ: شنبه 16 دی 1396 ساعت: 18:11

صفحه بندی