Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel success message

...
$recipe->save();
$data = [
  'success' => true,
  'message'=> 'Your AJAX processed correctly'
] ;

return response()->json($data);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #success #message
ADD COMMENT
Topic
Name
4+1 =