Jump to content

[SOLVED] random help


ngreenwood6

Recommended Posts

I have to create a table and put random values in it. The table will have random rows and cols and will need 1 of 2 words placed in it. There is also a random number of words that can be chosen. For instance:

 

cols:2

rows:4

word1:3

word2:2

 

In that example there will be 8 total blocks and 6 words. I want to randomly place those words 2 of word2 and 3 of word1 in random rows. Leaving 2 different blank spots each time. Any help is appreciated.

Link to comment
https://forums.phpfreaks.com/topic/174420-solved-random-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.