Baseball Freak
New member
So I have a script, in php, that includes a variable.
E.G. $ID = "$iIDs = array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, 17, 18, 22, 24);
$DaID = $ids[rand(0, count($ids)-1)];
";
Will this work? (I was wondering because of the semi colons inside the variable and because I keep getting an Unexpected $end on my script)
E.G. $ID = "$iIDs = array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, 17, 18, 22, 24);
$DaID = $ids[rand(0, count($ids)-1)];
";
Will this work? (I was wondering because of the semi colons inside the variable and because I keep getting an Unexpected $end on my script)