Laravel 8 - How To Create Forms And Store Data Into Database
Вставка
- Опубліковано 19 вер 2024
- This lesson is a part of a free, online crash course on “Laravel 8”.
Learn more by browsing our playlist: bit.ly/3kzRWE6
What is Laravel? Laravel is a web application framework with an expressive, elegant syntax. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
Read more: bit.ly/2J3Wfty
SUBSCRIBE to be notified when the next lesson is uploaded and to see more videos like these.
Where else you can find me:
INSTAGRAM: bit.ly/3mrxhmf
FACEBOOK: bit.ly/2JpXQdj
TWITTER: bit.ly/3sKvDQH
LINKEDIN: bit.ly/39TmIny
BUSINESS INQUIRIES:
Please contact [vagefipouya@yahoo.com]
Thanks for watching
#PeterAmo
thank you peter
Thank you for this tutorial, it was very helpful. I got an issue. I can't find my data base in the /phpmyadmin Data base is present as an element of the migration database.
Very helpful thank you
Thank you ! Nice video tutorial!
TY, best video!
سلام بسیار عالی بود تشکر برنامه سروش رو دیدم فهمیدم ایرانی هستید
Thank You so much .
❣
Welcome 😊
Thanks
Hello, firstly thank you for your videos. I followed you're video and I have problem I get white screen without storing data in database. Hope you can help me in this. Thanks
Hello my friend and sorry for the late reply. I couldn't check my UA-cam for a while. You should try *dd(request())* on *Route::post('/create',function(){* to check if data actually submits or not. Also, check the form Action to be set to *action="/create"* and you have this route on *web.php*
Nice
I followed your command but when i give any input to the form it doesn't get into database and 404 not found is shown. Give me a solution please
How can I add, a integer types value from form to databese. For example, I want to add price to database but price is integer
Define the integer type for table structure in the DB, and for inserting number you don't need double quotations around it. Ex: *Article::create(['price' => 25]);*
how do i do form validation for the input fields?
ua-cam.com/video/eBo8xfCIauo/v-deo.html
How does it know which table to go into
In this example, the model Article is connected to *articles* table automatically. But you can define your custom table name by saying: *protected $table = ''
'table_name';* at the model.
Hello sir form inserted nahi ho raha
Plz help me