html - Random Grid Layout using PHP with content from MySQL -
i have grid layout designed. it's full width fluid layout no gaps in between. need randomise content on each page load. have blocks of different sizes. add 7. blocks take 2 spaces of row, others one.
i need way randomly output content database in each block of grid. have set php functions randomise blocks , content have preset number of blocks , content same.
what best way this? have repeating content.
i think you're looking order rand() sql query.
this question you if so.
Comments
Post a Comment