poe Posted May 23, 2007 Share Posted May 23, 2007 is there a best way todo random, either from an array or from a db. i could use: shuffle(), then array_slice() -i learned this trick here rand() array_rand() for some reason, i heard that the rand() method ISN'T as random as you may want?? Link to comment https://forums.phpfreaks.com/topic/52721-random/ Share on other sites More sharing options...
per1os Posted May 23, 2007 Share Posted May 23, 2007 http://us.php.net/mt_rand Maybe that is what you are looking for? Link to comment https://forums.phpfreaks.com/topic/52721-random/#findComment-260295 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.