Thread: Choose random
View Single Post
05-25-2006, 08:59 PM
#1
.Nick is offline .Nick
.Nick's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 1,159
iTrader: 3 / 100%
 

.Nick is on a distinguished road

  Old  Choose random

Say I have a variable $cnt with the number of cells in a table. The content of each cell is determined by $array[$i]. With PHP, how would I go about picking 3 random cells and and replacing their content with something else?