Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started 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