lundi 29 juillet 2019

Laravel form validation issue

enter image description hereLaravel Form Check Validation, I tried to check form validation numerous time but showing this same problem in localhost.

Ist of all, I created a check validation function that inside have one parameter and array function in StudentController. Later, I created a post form for checking the required validation.

public function store(Request $request) {

//Insert data into Student Table
$student = new Student;
$student->name = $request->name;
$student->registration_id = $request->registration_id;
$student->department_name = $request->department_name;
$student->info = $request->info;
$student->save();

return redirect()->route('index');

}



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2YtqqRc
via IFTTT

Aucun commentaire:

Enregistrer un commentaire