Laravel Tutorial for Beginners - Insert Data into Mysql Table
Vložit
- čas přidán 7. 01. 2018
- How to Insert Data into Mysql Database in Laravel. Laravel Insert Data into Mysql Database Table. Insert Data into Myql Database Table using Laravel. How to Insert values into database using Laravel. Insert Form data into database using Laravel.
www.webslesson.info/2018/01/in...
ÚNICO TUTORIAL NO CZcams QUE EU CONSEGUI ENTENDER, PARABÉNS!
Starting my journey in Laravel Framework. This tutorial is easy to understand. Thank you!
Sir , Great Tutorial !
thank you for this Tutorial
if I have more than one tables than should I create model and controller for all the tables seperately?
perfect!
thank you so much it is working fine..
Sir your tutorial is very nice but some prob is come in my file tell me about how to create a "master.blade.php" file
tank you for . this very nice
what if i already created tables in my database ? do i still need to migrate ?
Why do you use Route::resource('student','StudentController');
Can I change ('student','StudentController') to ('Showmore','StudentController')?
nn we can t because route of ressource type has 7 routes [ get() , get(id), delete(id),update(id)...] but you should respect the name of the methods inside contreroler like delete,update just use --resources after cmd of create new controller
thanku soo much sir
amazing. would prefer you listen to a human voice while watching the tutorial. but if you dont want to do it .its okay you are still very helpful .
Hi Sir,
Please one video tutorial on Ionic-laravel CRUD operations with multi-auth
Sir pls teach how to handle exception handling in laravel
sir if i don't want to store data in the student and want to store it in another table
i do follow steps, but the query statement is auto generated with unknown table name. how can i set my table name?
Thank you sir you are great
Nice, sorry am new to Laravel, how did u specify the table to insert to
same problem here
Not a open 127.0.0.1:8000/student/create ?
great tutorial
Kindly make the video on 5.7 or 5.8 version
My master.blade.php file is not created automatically, so sir tell me what I do
Hi, In case you are still looking for an answer, here is what you need to do. you have to create the folder/file your self. you can find the simple html/boots trap skeleton on the net.
also dont add links to your master.blade since the newest laravel does not need to . just add this
hope it helps
i followed all the steps but when i pasted 127.0.0.1:8000/student/create othing happens.my browser did not showed anythingg ;( how to solve ittt
I created the database table successfully. But my views folder does not have the master.blade.php file. How do I solve this problem?
hi, what does it mean by "errorException, use of undefined constant staff"?? please help me anyone :(
Usually errorException undefined constant is warning that occurs whenever PHP has detected the usage of an undefined constant.
There is a problem with your variables, the ones with the dollar sign $.
like $first_name, $last_name.
You gotta make sure that your form is sending the parameters first_name and last_name and you are storing them
in the right variables $first_name, $last_name.
in your form you have to be careful with the attribute name="firstname" and name="lastname"
you have to use these attributes to allocate their values inside of your variables $first_name and $last_name
Good tutorial.but i have problem with the form although i already fill in and submit the form but it did not save the data to database and show remainder to fill it up again.
same problem (;
Can you teach at my university?
I'm successfully conected to database and created the sutdent table by following previously tutorial, but when I following this tutorial to insert data, it give me error as
"You're using the default database name laravel. This database does not exist.
Edit the .env file and use the correct database name in the DB_DATABASE key."
Anyone has similar issue, how does it happen, the conection seems fine when create table but fails when insert data.
try clar config
php artisan config:clear
My migrate file not created automatically ,so sir tell what i do ?
Do yourself a favor and just use the command ''php artisan make:model -a ''. This will create a model, migration, controller and resource with the given .
i follow all the step but not Create the automatically "master.blade.php" file .How to create the "master.blade .php" file
Faced the same problem also.
Do you found the solution?
Please share
Thanks
same prob ..
Not sure if you guys already solved it, but here is a document for it. laravel.com/docs/5.6/blade
As well, I am not sure how he sets it to route.php
Same problem
@@farhanmehsood you can create master.blade.php manually by write clicking on the view->newfile and create master.blade.php............once you do that just copy and past the codes from the documentations if you feel lazy to type all
hi
it is giving me this error
Cannot end a section without first starting one. (View: C:\xampp\htdocs\laravelTutorials\student_crud
esources\views\Student\create.blade.php)
same
@@grandtom2516 it solved after sometime check brackets and syntax of include master
You missed out the save() or did I?
Didnt find in in Tutorial 2 (jumped backwards to check again) and dont find it in tutorial 3.
10:50
BRO THIS GUY IS PRO HE NEVER MISS ANYTHING SOMETHING WRONG WITH YOU BRAIN!
127.0.0.1:8000/student/create
Sir it shows blank not found.. Y?
just write local host/student/create
Target class [StudentController] does not exist. help me out
could you do a tutorial showing how to capture photo using webcam?
you might be a wrong channel
?
u drunk nigga?
YOU STREAM ON TWITCH BRO? YOU STREAM LARAVEL ON TWITCH???
It's redirecting me to student and not working
check 11:09 weather its redirected to (student.create) or not
Para los que tengan error, aquí dejo el código de esta clase, me funciono bien, saludos...
github.com/DanielGeek/laravel_ejemplos/commit/dae65cc2e6354a1deab48f765d256ba0a3010992
"View [student.create] not found."
how can i fix this
you will add protected $namespace = 'App\Http\Controllers'; this code in routeserviceprovider.php which will be in aap/provider
and then you will need to add ->namespace($this->namespace) below in this file which will be boot() fuction
and then return view('student.create'); add this code in student controller.php in index function
in app/web.php the route should be like this Route::resource('/student/create', 'StudentController');
I try your tutorial and got this message " "
Sir Your method is Sooo difficult
such a terrible way to do validation on serverside.
That's the problem about these tutorials.
A lot of people begin to learn in the wrong way, then later they get lost and they have no idea what they are doing.
It was uploaded in 2018, but anyway... I was looking for something and I came across this tutorial and I realised that everything that I learned is different from here,
First you validate forms in the front-end, then you get your parameters and send request to server side, then server
side provides response.
Imagine if your client has to fill out the whole form and press submit to check if there is an error or not?
If must be validated while they are typing something in the form with JavaScript/Ajax requests.
ANYWAY, a lot of ways to do it, people will always be learning the wrong way with these tutorials, but it is better than nothing.
I am learning Laravel right now, any suggestion of how to do the validation properly? Many thanks in advance
My folder not seen resource >viwe> STUDENT FOLDER
please reply me immediately
there many errors while doing this and they are not sorting
very bad video
thats irritating.!