Thread
:
Need Some Quick PHP Help...PHP Gurus Inside!
View Single Post
06-15-2008, 04:40 PM
Serge Litehead
Confirmed User
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
use array_rand()
say you have $pick = array('integerA', 'integerB', 'integerC');
then use with your $dic = array(
'integer1'=>array_rand($pick),
'integer2'=>array_rand($pick),
...
);
hope this helps
__________________
SilverCrocodile.com
Adult web design
since '05
Serge Litehead
View Public Profile
Visit Serge Litehead's homepage!
Find More Posts by Serge Litehead