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
With MotoShare.in, you can book a bike instantly, enjoy doorstep delivery, and ride without worries. Perfect for travelers, professionals, and adventure enthusiasts looking for a seamless mobility solution.