$date = strtotime(date("Y-m-d", time())); $snd = $date; $ryt = $date+(60*60*24); $data = mysql_query("SELECT * FROM `nba4u2_games` WHERE `ga_date` >= $snd AND `ga_date` < $ryt") or die(mysql_error());