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)] ?>
I do not use cookies on this website

🍪🍪 What cookies?


Your privacy is important. That's why this website doesn't track visitors with fingerprinting, your IP address or cookies.


Web analytics data is your own. Reclaim it.

Gain back control with a privacy-focused web analytics platform (using a cookie-less architecture) from: Data Centurion.