↑ Return to History

2011-2012 Results

‘$year-08-01’ AND games.date<'$yearend-08-01' AND games.opponent != '' AND games.comp_type = comp_type.comp_id AND games.game_type = game_type.game_type_id ORDER BY games.date, games.time"; $result = mysql_query($query); echo "

“;
echo “

“;

while ($row=mysql_fetch_assoc($result)) {

$wlt = “{$row[‘our_score’]}-{$row[‘their_score’]}”;
if($row[‘our_score’] > $row[‘their_score’]){
$wlt = “W $wlt”;
}
elseif($row[‘our_score’] < $row['their_score']){ $wlt = "L $wlt"; } elseif($row['played']==1){ $wlt = "T $wlt"; } if($row['played']==0) { $wlt = ""; } $date_out = date('M j',strtotime($row['date'])); $time_out = date('g:i a', strtotime($row['time'])); echo "

“;
echo “

“;
echo “

“;
if ($row[‘home’]) {
echo “

“;
}
else {
echo “

“; }
echo “

“;

echo “

“;
}
echo “

Date and Time Side Location Opponent Result
$date_out, $time_out {$row[‘game_type’]} {$row[‘game_side’]} {$row[‘location’]} {$row[‘opponent’]} @{$row[‘opponent’]} $wlt

“;
}

?>

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

css.php