Re: note 8165 added to rand
| From: | Zak Greant | Date: | Tue, 29 Aug 2000 20:35:47 +0000 |
| Subject: | Re: note 8165 added to rand | ||
| References: | 1 | Groups: | php.general php.notes |
| Request: | Send a blank email to php-general+get-14231@lists.php.net to get a copy of this message | ||
At 08:26 PM 8/29/00 +0000, markmh84@hotmail.com wrote:
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!The manual notes are not the place for asking support questions. Before posting another note, please make sure to read the instructions at http://www.php.net/manual/add-note.php I have cc'd this email to the php-general support list. Someone there should be able to help you out. You can subscribe to this list by sending mail to php-general-subscribe@lists.php.net. Good Luck! - Zak