Тёмный
No video :(

Laravel 8 tutorial - Save Data in Database 

Code Step By Step
Подписаться 309 тыс.
Просмотров 96 тыс.
50% 1

In this laravel 8 and 9 video tutorial, we learn how to save data in database pagination in a simple way. This video is made by anil Sidhu in the English language.
steps of video
Make HTML form in view
Make Model
Make Controller
Make routes
save data in db
check and is saved on not
Interview Question over Model
Latest laravel tutorial with version 9
laravel 9 tutorial
laravel 9 playlist • Laravel 9 tutorial

Опубликовано:

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 67   
@codestepbystep
@codestepbystep 2 года назад
Please support me by subscribe, like and comment :) thank you
@Stella_8008
@Stella_8008 Год назад
no u are a scammer
@ashokbishwas
@ashokbishwas Год назад
i have repeated this video for 5 times for practice and to sharpen skill on laravel, If you come to Kathmandu to visit Pashupatinath, I will host you. God bless you brother.
@codestepbystep
@codestepbystep Год назад
Thnx dear
@NareshKumar-xf6rl
@NareshKumar-xf6rl 3 года назад
We can save data into two tables with the help of one model by using eloquent relationships.
@zikriyakhan551
@zikriyakhan551 2 года назад
How Can you Please shear the method?
@majdalin1265
@majdalin1265 Год назад
the best instructor the best tutorial Thanks a lot .love u❤
@ainguyenxuan4726
@ainguyenxuan4726 3 года назад
I'm from Vietnam, I thank you so much for these useful videos
@gueilletoumaihissein727
@gueilletoumaihissein727 Год назад
Well done
@Niset_IT
@Niset_IT 2 года назад
The best tutorial in the world :) Thanks
@JasvirSingh-fd6fp
@JasvirSingh-fd6fp 3 года назад
actually we should not use One model for two or more tables, each model is specified for that particular table, its unnecessary thing. each table has and should have its own Model.
@ultimate-acs7868
@ultimate-acs7868 3 года назад
Oh...But what if we need to use joins on the table where there is an interaction of 2 or more tables?
@hanjoyitsu1414
@hanjoyitsu1414 3 года назад
^ What Ultimate-ACs said. or idk. im a newbie prorammer, is it necessary to make them in the same file to join the table?
@user-xc4lj2up5m
@user-xc4lj2up5m Год назад
Thanks a lot
@devranjankumar988
@devranjankumar988 2 года назад
U saved my life bro..
@hamidoahmed9985
@hamidoahmed9985 Год назад
thanks bro, you're the best
@goldenvillains3611
@goldenvillains3611 2 года назад
Thanks chief, this saved me a lot of stress!
@fatimealbatat1183
@fatimealbatat1183 2 года назад
thank you sooo much, worked for me :)
@jammincoder
@jammincoder 2 года назад
That's really cool, man! Helped me out a ton, thanks!!
@omkarmodak802
@omkarmodak802 3 года назад
You saved me. Thanks
@lenwoperlenwoper2222
@lenwoperlenwoper2222 2 года назад
thanks a lot ❤️ 🔥🔥
@subhodeepbhattacharjee9569
@subhodeepbhattacharjee9569 3 года назад
Hello, In CI We write all kind database related code in model. But In Laraval we just create model and define table names only write all code in my controller.... So, Please explain me what kind of functions that we write in my model. and create a simple project with all existing files....
@muhammadwaseem9489
@muhammadwaseem9489 3 года назад
bro..after putting values in the input fields...the submitt button is not going on any page (means to say submiit button is not working not submitting values the what is the error occur ....) please guide
@KaifKhan-tl6fz
@KaifKhan-tl6fz 3 года назад
bro change submit button change button to
@kailasmokhare9990
@kailasmokhare9990 3 года назад
Thank you....
@nooralalem6099
@nooralalem6099 3 года назад
THANK YOU :)
@lasithadulshan7357
@lasithadulshan7357 3 года назад
we can create two functions to save data in two tables
@dhainik.suthar
@dhainik.suthar 3 года назад
sir what if we have non required input field. it give us error how to solve it ?
@rifatbinmonsur1492
@rifatbinmonsur1492 2 года назад
can add default value in the input field in mySql database, should solve the issue. (localhost/phpmyadmin -> your database table -> structure -> edit the field -> default value-> NULL)
@cpt_4meric4
@cpt_4meric4 3 года назад
Thank you, this helped alot!
@khushbuwaghela2986
@khushbuwaghela2986 3 года назад
while i m import model after write code of controller...it is just loading and loading nothing gonna happen, no error no output.. what i have to do....i m using laravel 8
@kgethegodev
@kgethegodev 2 года назад
How would you authentiate this table on login
@noor-ul-sabahafeez5543
@noor-ul-sabahafeez5543 2 года назад
how can add data using foriegn key ?
@vanitachaudhari1132
@vanitachaudhari1132 3 года назад
hey but i am not able to run $ member->save(); it is giving me error.... array_key_exists(): The first argument should be either a string or an integer... it giving me this error .... i hope u solve this
@kevalbhanderi594
@kevalbhanderi594 3 года назад
you have to specify your first argument in the database table when you created it.
@bonamariecapao4527
@bonamariecapao4527 3 года назад
hello, I just can't seem to insert data into my database, can you please tell me why? I'm using laravel 8
@haroonbadshah4635
@haroonbadshah4635 3 года назад
any error u have?
@saiharish3802
@saiharish3802 3 года назад
@@haroonbadshah4635 no error sir but it not stored in database
@raghavendrakesari337
@raghavendrakesari337 3 года назад
bhai bs ab bta do donation kaha karna hai??????????????????????????????
@traglesofrware6293
@traglesofrware6293 Год назад
sir ye error aa rha hai "message": "Method App\\Http\\Controllers\\TeacherController::save does not exist.",
@traglesofrware6293
@traglesofrware6293 Год назад
// Model:-
@JamesAutoDude
@JamesAutoDude Год назад
Why are you making your own methods? It should use the create, store, edit, update methods...
@faheemfalan9137
@faheemfalan9137 2 года назад
Save data with migration
@laibagillani2905
@laibagillani2905 3 года назад
its giving me null response
@maham2249
@maham2249 3 года назад
Did you solve the issue
@lekhnibhatnagar6738
@lekhnibhatnagar6738 3 года назад
I am getting and error---> Trait 'App\HasFactory' not found what to do now and in Eloquent folder i have only factory.php not factories? how to solve it , i am using laravel 8 . I followed every step still not able to insert data. plzz help
@abhinavsingh7859
@abhinavsingh7859 3 года назад
Add use HasFactory; in the model under the member class
@abhinavsingh7859
@abhinavsingh7859 3 года назад
Btw did your project was installed properly with no errors?
@lekhnibhatnagar6738
@lekhnibhatnagar6738 3 года назад
@@abhinavsingh7859 yes abhinav my project was installed properly..do you think there is an issue in the installation?
@abhinavsingh7859
@abhinavsingh7859 3 года назад
Yes i think....if you are following every steps properly then may be there might be a issue that you didn't set it up properly....it happens to me most of the time...did you added that one line in the model....?
@lekhnibhatnagar6738
@lekhnibhatnagar6738 3 года назад
@@abhinavsingh7859 yes I did added the model and followed every step...but i tried another way and was able to insert data into my db.. anyway thanks lot for the help.🌻
@rutvikdahima438
@rutvikdahima438 3 года назад
sub video hindi mai banaye ye kyu english mai ?
@Umair-Sid47
@Umair-Sid47 3 года назад
Title apney Hindi diya howa he or parha English me rhy ho ap thats not fair.
@navinsahanivlog
@navinsahanivlog 3 года назад
jab sare video hindi translate kiye to ye video to english me krne ka
@saikumarkandikonda431
@saikumarkandikonda431 3 года назад
using hasmany relationship we can insert into mutliple tables
@noufaltk72
@noufaltk72 3 года назад
Haaaiii
@danilotrix
@danilotrix Год назад
Can you do in the model: $member = new Member; $member = $req; Instead of saving all the values one by one? Thanks
@pratikshalihinar4225
@pratikshalihinar4225 3 года назад
After entering data page is expired
@gauravdash1758
@gauravdash1758 3 года назад
Add @csrf just above your input field in the form
@mitulgupta1792
@mitulgupta1792 2 года назад
run : php artisan optimize
@Umair-Sid47
@Umair-Sid47 3 года назад
yrrr ye kya chawal mari he apney... shuru waley topics hindi me or main topiucs english me..axhi bhali samjh arhi thi ab me kesay carry on kru ye course apka
@codestepbystep
@codestepbystep 3 года назад
1-2 video me issue hoga brother, i check krta hu
@Umair-Sid47
@Umair-Sid47 3 года назад
@@codestepbystep ok
@ryansalem9920
@ryansalem9920 Год назад
Hello man , just have one question , does it mean that every table must have 1 model file ? for example table1 table2 table3 should i create three models ? so that i can put on every file public $table = "table1"; public $table = "table2"; public $table = "table3"; Thank you my friend.
Далее
Laravel 8 tutorial - Delete Data in Database
10:08
Просмотров 44 тыс.
Brutally honest advice for new .NET Web Developers
7:19
Laravel 8 tutorial - Show List from Database Table
9:55
The Logging Everyone Should Be Using in .NET
15:34
Просмотров 59 тыс.
Laravel 8 CRUD - Insert data into database
16:59
Просмотров 43 тыс.
Laravel 9 tutorial - Save Data in Database (MySQL)
16:11