Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

alert message in blade template with()

public function create(Request $request)
{
	$this->validate($request,[
        'title' => 'required',
        'details' => 'required'
        ]);

	$items = Item::create($request->all());

	return back()->with('success','Item created successfully!');
}
Source by www.nicesnippets.com #
 
PREVIOUS NEXT
Tagged: #alert #message #blade #template
ADD COMMENT
Topic
Name
5+2 =