How to define model based on role I have a table where I save users. Users can either be a student,...
It is discouraged to do in a view so there is no blade tag for it. If you do want to do this in your...
The request() method in your controller echos $post rather than returning it. This means that the $r...
sometimes you may need to use a raw expression in a query. To create a raw expression, you may use t...
In your auth.php configuration file, you may configure multiple password "brokers", which...
I don't see your DataTables' initialisation in the above, but you would use ajax.data if you are usi...
The Laravel portal for problem solving, knowledge sharing and community building.