December 12, 2006 at 8:42 am
#718618
Inactive
// Start banner code
$codes = array(
“
“,
“
“,
“
“,
);
srand ((float) microtime()*1000000);
shuffle($codes);
$i=0;
$number=1; while(list(, $code) = each($codes)) {
if ($i>=$number) { break; }
echo “
“;
echo ““;
$i++;
}
// End banner code
[/CODE]
The above is what I use to rotate three header banners. You can add all the banners you want.
Hope this helps.[CODE]
// Start banner code
$codes = array(
“
“,
“
“,
“
“,
);
srand ((float) microtime()*1000000);
shuffle($codes);
$i=0;
$number=1; while(list(, $code) = each($codes)) {
if ($i>=$number) { break; }
echo “
“;
echo ““;
$i++;
}
// End banner code
[/CODE]
The above is what I use to rotate three header banners. You can add all the banners you want.
Hope this helps.