Hello i have found the problem , problem was that this code should start in an .html file which the php code could not be read properly.so i creat a .php file and add the code there and called it with an another iframe in the .html file, now its working my problem was that i wantet to run a .php code in a .html file and this is the complete code
<?php$iframe = array();$iframe[0] = '<iframe src="http://www.bing.com" allowtransparency="true" frameborder="0" scrolling="auto" rel="nofollow" style="width:100%;height:100%"></iframe>';$iframe[1] = '<iframe src="http://www.google.com" allowtransparency="true" frameborder="0" scrolling="auto" rel="nofollow" style="width:100%;height:100%"></iframe>';$iframe[2] = '<iframe src="http://yahoo.com" allowtransparency="true" frameborder="0" scrolling="auto" rel="nofollow" style="width:100%;height:100%"></iframe>';$numbers = range(0, 2);shuffle($numbers);foreach ($numbers as $number):endforeach;echo $iframe[$number];?>
Thank you