".$days[$i]." | \n";
// list all of our shows, by date
$query = "SELECT * FROM shows WHERE day='$i' ORDER BY start";
$result = mysql_query($query);
echo mysql_error();
while($row = mysql_fetch_array($result))
{
$start_time = strftime( '%I:%M %p', strtotime( $row['start'] ));
$end_time = strftime( '%I:%M %p', strtotime( $row['end'] ));
if($color_counter % 2 == 0)
echo "|
". $start_time . " - ". $end_time . " | ";
echo "" . $row['long_title'] . " "; echo " " . $row['description'] . " ";
if($row['email'] != "")
echo "(contact via email) ";
echo " |