note 29347 added to function.rand

From: Date: Mon, 10 Feb 2003 21:49:37 +0000
Subject: note 29347 added to function.rand
Groups: php.notes 
Request: Send a blank email to php-notes+get-43741@lists.php.net to get a copy of this message
Well, as we´re all here talking about rand(), does anybody here know how to use it to make an random exibition of images and html archives. something like: I visit the homepage and it shows one image. Then I get out of it, and when I visit it again, it shows another image. Does anybody knows how do I do that, using the rand() and only PHP? (I can´t use javascript) -- http://www.php.net/manual/en/function.rand.php http://master.php.net/manage/user-notes.php?action=edit+29347 http://master.php.net/manage/user-notes.php?action=delete+29347 http://master.php.net/manage/user-notes.php?action=reject+29347

« previous php.notes (#43741) next »