smplicissimo: fai un array con tutti i codici per i banner:
Poi, conti i banner automaticamenteCodice PHP:
$banner=array();
$banner[]='Codice html del banner 1';
....
e generi un numero casuale, da 0 al conteggio:Codice PHP:
$nBanner=count($banner)-1;
e poi stampi il codice usando il numero random:Codice PHP:
$random=rand(0, $nBanner);
Codice PHP:
echo $banner[$random];