PHP/MYSQL Help [Solved]
Posted: Sat Mar 23, 2013 2:02 am
I don't even understand this.
On my local server...
That does exactly what I want, it finds all the 175 Different games to sim at that particular time and runs them. However, on my LIVE server, it is only running the result of the same game 175 times. Does anybody know why? It's the same exact code... I'm beyond confused/annoyed by this.
On my local server...
Code: Select all
$Get_Games = mysqli_query($db,"SELECT * FROM `games` WHERE `season`='$Server_Season' AND `day`='$Server_Day' AND `time`='$Server_Game' AND `status`=0") or die(mysqli_error($db));
while ($row = mysqli_fetch_row($Get_Games)){
$Get_Game = mysqli_query($db,"SELECT `status` FROM `games` WHERE `game_id`='$row[0]'") or die(mysqli_error($db));
$Status = mysqli_fetch_array($Get_Game);
if ($Status['status'] == 0){
include 'sim/college/sim/sim.php';
}
}