This is actually the php I am working on. If anyone can give some helpful hints, I would appreciate it.
<?
// Process config file to determine default server (if any)
require('config.inc.php');
mysql_connect($cfgServer,$cfgUser,$cfgPassword);
mysql_select_db($cfgDb);
if (mysql_errno()) {
echo mysql_errno().": ".mysql_error()."<BR>\n";
exit;
}
if (!$submit) {
$quer = "SELECT * FROM courses WHERE sess_no='1' AND locations='Boulder' order by ages ASC";
$result = mysql_query($quer);
echo "<table width=500>";
while ($courseinfo = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td width=200>";
echo "".$courseinfo['class_name']."";
echo "<b>";
echo "".$courseinfo['sub_heading']."";
echo "</td>";
echo "<td width=100>";
echo "".$courseinfo['ages']."";
echo "</td>";
echo "<td width=100>";
echo "".$courseinfo['numberofstudents']"";
echo "<i>of</i>";
echo "".$courseinfo['capacity']."";
echo "</td>";
echo "<td width=100>";
echo "<FORM ACTION=\"description.php\" ACTION=\"POST\" target=\"_description\">";
echo "<input type='hidden' name='class_name' value=".$courseinfo["course_id"].&.$courseinfo["sess"]>
echo "<INPUT TYPE='Submit' VALUE='Details' onclick='newWindow.focus();'></form>";
echo "</tr>";
}
echo "</table>"
?>