note 8165 added to rand

From: Date: Tue, 29 Aug 2000 20:26:04 +0000
Subject: note 8165 added to rand
Groups: php.notes 
Request: Send a blank email to php-notes+get-3625@lists.php.net to get a copy of this message
How can I create a random banner ad generator? <? rand(); ad('<a href=""><img src=""></a>'; '<a href=""><img src=""></a>'; '<a href=""><img src=""></a>'; '<a href=""><img src=""></a>'); ?> then when i want to call the banner i use <? echo = $banner; ?> or something to display it. I'm new to php, so please write me the entire code, thanx! markmh84@hotmail.com http://www.php.net/manual/function.rand.php

« previous php.notes (#3625) next »