Laravel filters are a set of rules that can be applied before and after routes to change application actions. Also there is global filters that executed before and after every request. Let’s explore laravel filters.
You don’t need laravel built in validation rules and wish if you could create your own validation rules. Well, fortunately laravel is very flexible as it allows you to build your own validation rules and with a bunch of ways.
We discussed before how to create forms with laravel and then how to build validation rules. Now let’s see how to access error messages from form view.
We discussed before form creation with laravel and I think the important thing you need to learn right now is form validation. You should always validate forms to ensure that you receive good data. You shouldn’t trust your clients or they will exploit your application.
MySQL unions used to combine the results of multiple
SELECT statements into one result. MySQL supports both
UNION ALL for joining
In PHP applications, Retrieving data from relational tables generally require the use of joins. MySQL joins enable developers to select data from multiple tables with a single SQL statement. Let’s explore MYSQL joins.
In fact, Laravel supports a bunch of handy methods that can handle form creation with ease. We are going to explore these methods.