Profile Pic
Maincit

RELATED BLOGS

Laravel Return Response JSON Error Message on Ajax

//Controller try { //YOUR CODE HERE... return response()->json(['message'=>'Success!']); } catch (\Exception $e) { return response()->json(['message' => $e->getMessage()], 500); } //HTML $.ajax({ type:'POST',.

Create and Add Column to Table Laravel

Create table: php artisan make:migration create_users_table --create=users Add column to table: php artisan make:migration add_votes_to_users_table --table=users

LEAVE A REPLY