Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

How to add Data to a New Column in Laravel PHP Framework? Part-2

How to add Data to a New Column in Laravel PHP Framework?

In the previous blog part-1, we added a new column(email). Here, we’ll add data to a new column(email).

Click CRUD Functionality of this Table. Click Search with Pagination.

Step 1. Now, Go to app/Service.php file and write down the following code:

Step 2. Go to app/Http/Controller/ServiceController.php file and write down the following code:

Step 3. Now, Go to Resources/views/Service/create.blade.php file and write down the following code:

Step 4. Similarly, Go to Resources/views/Service/edit.blade.php file and write down the following code:

Refresh URL

Thanks