Hallo,
mt_srand((double)microtime()*1000000);
$url = mt_rand( 1 , 3);switch($url)
{case 1: $urlnew="frameset.php?design=1"; break;
case 2: $urlnew="frameset.php?design=2"; break;
case 3: $urlnew="frameset.php?design=3"; break;
}
Hier reicht doch:
$urlnew="frameset.php?design=".$url;
MfG, Thomas