User Registration – Insert Data

Now we have created a registration form. As we have defined the action of our form as user/createUser so we have to create a route for this url.

Notice the method of the route is POST as the method of our form is POST. To insert the data we will have to create a […]

Read More

Routing in Laravel

Basic Routing Routing is the process by which we decide which method to call on the basis of request. We will write the routes in routes.php in app directory. If you will open your routes.php file you will see this code:

  Here return View::make(‘hello’); will execute when user will open root url of […]

Read More