$i = rand( 0, count(imagesArray));
$imagesArray[$i];
----- Original Message -----
From: selyah
To: NYPHP Talk
Sent: Monday, May 28, 2007 4:56 PM
Subject: [nyphp-talk] random image selection
is there a simple way of selecting random images to be displayed from a
library of images.
Thanks
------------------------------------------------------------------------------
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php