PHP Rand Rotator
mins
PHP text rotator example
<? $aText = array(
1 => 'one',
2 => 'two',
3 => 'three',
);$iNumText = count($aText);echo $aText[rand(1, $iNumText)] ?>
PHP link rotator example
<? $aText = array(
1 => '<a href="https://" title=""></a>',
2 => '<a href="https://" title=""></a>',
3 => '<a href="https://" title=""></a>',
);$iNumText = count($aText);echo $aText[rand(1, $iNumText)] ?>