I have exactly the same code on different pages except they have 2+ urls in the array and with 2 just doesn’t seem to work… strange
I get this
Parse error: syntax error, unexpected ‘"’, expecting ‘)’ in /home/infiniti/public_html/pc/features/random.php on line 3
with
<?php
$urls = array("gameinfiniti.com/pc/battlefield/badcompany/2/"
"gameinfiniti.com/pc/splintercell/conviction/);
$url = $urls[array_rand($urls)];
header("Location: http://$url");
?>
Thanks