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

Total Page Visits: 35 - Today Page Visits: 1