Insert Data into Database Using Laravel | HTML Form Submit Using Laravel | PHP | Laravel 9

preview_player
Показать описание
Insert Data into Database Using Laravel:
Step 1: Create Laravel Project using ( 'composer create laravel/laravel project_name' ) this command.
Step 2: Open your project on VSCode or your preferable code editor.
Step 3: Run your project using ('php artisan serve') this command.
Step 4: Create an HTML form on laravel blade template.
Step 5: Create a Controller using ('php artisan make:Controller ControllerName') this command to handle this form.
Step 6: Run Xampp.
Step 7: In localhost create a database called laravel.
Step 8: Create a table on the database.
Step 9: Create a model using ('php artisan make:Model ModelName') this command for this table.
Step 10: Using Query Builder write a query on Controller to insert data.

Рекомендации по теме
Комментарии
Автор

Thank you very much, for this practique more love 😘

mounssefboumechoui
Автор

Plz make total crud operations and login operations also.. Plzz.

tanumoydey
Автор

hey, i followed your video and im getting this code when i try to execute

Call to undefined method

any idea why?

hadihakimi
Автор

Don't do custom methods! It's create for form, store for storing the form to database, edit for editing the data in the database, update for putting the new edited data into the database

JamesAutoDude