= '" . date("Y-m-d") . "' AND start_date < '2999-00-00' ORDER BY start_date LIMIT 12"); echo "document.write(\"\")\n"; while($row = mysql_fetch_array($result1)) { $row['start_date'] = date("M j", strtotime($row['start_date'])) . ", " . date("Y", strtotime($row['start_date'])); // . " - " . date("j", strtotime($row['end_date'])) if ($row['full'] == 'N') { echo "document.write(\"\");\n"; } else { echo "document.write(\"\");\n"; } } echo "document.write(\"
DateClassAdditional Information
" . $row['start_date'] . "" . $row['class_name'] . " " . $row['comments'] . "
" . $row['start_date'] . "" . $row['class_name'] . " (Full--Standby Only)" . $row['comments'] . "
\")"; mysql_close($con); ?>