As I understand it this part: < ?php echo rand(2,4); ?>, is what “randomizes” the grid by choosing a random number between 2,3 and 4 for each box.
I would very much like to do the opposite, but I don’t know the command in php. I would like to get a ordered sequence of boxes: 1,2,3,1,2,3,1,2,3 etc.
Is it possible to change the “echo rand” command so it does the opposite?
Hope you can help…
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".