database_query("SELECT * FROM bateworldcom_zips.bateoff_contestants ORDER BY id"); $x=0;
while($row=$database->database_fetch_array($query)){
$contestants[$x]["username"]=$row["name"];
$contestants[$x]["id"]=$row["id"];
$contestants[$x]["picture"]=$row["picture"];
$contestants[$x]["bio"]=$row["bio"];
$x++;
}
shuffle($contestants);
$x=0;$y=1;
foreach($contestants as $contestant){?>
Total BateOff Votes:
database_result($database->database_query("SELECT COUNT(*) FROM bateworldcom_zips.bateoffvotes"),0);?>
VOTE ON EACH CHALLENGE BELOW!