I'm trying to make a file that creates a array of 3 strings, than randomly displays one of the three 5 times. Can someone tell me what I'm doing wrong?
<?php
$pk[0] = "PK Fire!<br/>";
$pk[1] = "PK Thunder!<br/>";
$pk[2] = "PK Freeze!<br/>";
for($i = 0; $i < 5; $i++)
Echo "" + $pk[rand(0,2)] + "";
?>