Hey,
I'm trying to make a little random banner script but the problem is I have more banners than urls, so the best method I could think of coming up with was:
$banners[] = ('site1-img1.jpg', 'site1-img2', 'site2-img3', etc etc etc);
$urls[]= ('site1-url1', 'site2-url2');
if banners[$some_random_number] contains 'site1', the url[] is 'site 1'
if banners[$some_random_number] contains 'site2, the url[] is 'site 2'
Anyone know the coding solution for me to get this running? Thanks.