you have four unrelated queries.. in your controller make those four queries, save in 4 variables (or array) and pass them through blade...
Create a view which contains the multiple data coming from several different mySql tables
Hi guys, I've been following several courses here on Laracasts and the time to start a real project has come. And with this project, arrived also the first massive question.
I have a mySQL db with multiple tables and in a page of the control panel I would like to have a view which will contain the result of multiple queries (not related to each other). Each query will retrieve the number of records in one specific table or similar type of information.
I come from a traditional PHP development and that was pretty easy, it seems that we Laracast this can be even more easy but only after the first attempts.
I'm not looking for code just to have some direction in order to follow the best possible path.
Thanks a lot
Please or to participate in this conversation.