How to insert form data into database using laravel 5.2 using model,eloquent in xampp server with errors also.
In this video i will show you Laravel 5.2 Framework how to insert form data coming from a form into xampp server or local server. First create database with purals name, then create model with singular name like database is makers and model name should be like maker only. After create model create controller and give connection to routes. and namespace model to controller.
Namespace for a model in controller is maker
$user = new maker;
Input::get is geting data from a form;
$user->name is inserting data into a database.
This is away how we insert form data into database by laravel framework.