I have created a website layout.
https://i.stack.imgur.com/6FSEb.png
I have included the file showing the design. The data in the boxes will come from a MySQL database.
My query is, can it be done with just one query?
Currently, I am running separate queries for each set of boxes - limit 2 for the first two, then another limit for the next two, and so on. However, I am now considering if CSS could handle this by styling the first and second boxes differently, the third and fourth boxes differently, and applying an alternative style for the remaining boxes based on automatic generation.