[Solved]Bingo Board Entry Randomization

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kaYak
Forum Commoner
Posts: 65
Joined: Mon Feb 02, 2004 2:43 pm
Location: USA

[Solved]Bingo Board Entry Randomization

Post by kaYak »

I made this bingo board creator where you can enter words in it and then it will make a bingo sheet. I want to know how I could make it so it will move the words around on the bingo board without having the same word on it twice. The creator is at http://neoe.spike-domain.net/testing/bi ... _maker.php

Thanks,
techguy
Last edited by kaYak on Sat Mar 13, 2004 4:59 pm, edited 1 time in total.
User avatar
angrytuna
Forum Newbie
Posts: 12
Joined: Mon Feb 23, 2004 1:01 am

Post by angrytuna »

You're passing a bunch of named variables via POST (e.g. twelve, thirteen, fourteen) as I see from viewing the source on that page. It should be simple enough to use the shuffle function to randomize the values associated with each key. Then just print them out the way you've been doing.
kaYak
Forum Commoner
Posts: 65
Joined: Mon Feb 02, 2004 2:43 pm
Location: USA

Post by kaYak »

Thanks for your help AngryTuna. I was looking at that function but I'm not sure if I know how to use it.
Post Reply