i am using this code to rotate banners in my header
Code:
$random_number = rand(1, 4);
$random_banner[1] = '<a href="http://www.treatingyourself.com" target="_blank"><img src="http://www.domain.com/forums/banners/Untitled-468x60.jpg" alt="" border="0" /></a>';
$random_banner[2] = '<a href="http://www.dnagenetics.com/" target="_blank"><img src="http://www.domain.com/forums/banners/dna.gif" alt="" border="0" /></a>';
$random_banner[3] = '<a href="http://shop.studiotermini.com" target="_blank"><img src="http://www.domain.com/forums/banners/karl.jpg" alt="" border="0" /></a>';
But if i try a flash one it dont work:
Code:
$random_banner[4] = '<a href="http://www.aqualabtechnologies.com/" target="_blank"><img src="http://www.domain.com/forums/banners/aqua.swf" alt="" border="0" /></a>';
Can someone give me the correct code? thanks alot