Hey acidburn, pray tell, how can I do this:
$random_banner[1] = '<a href="http://www.link1.com/"><img src="path/to/banner1.gif" alt="" border="0" /></a>';
and have different images appear for random_banner[1]? For instance, I want to rotate /images/banners/banner[1-20].jpg but use the same link each time. Do I have to place them all in different $random_banner lines or is there a shortcut?
|