one
use mysql_db_query almost select base on query it (just my opinion)
two
use echo function and not print (i see somewhere it's better)
tree
when you do lot of echo, you can close the PhP tag ?>
so replace:
print "<table border=2 width=98%>";
print "<tr><td width=10%>$row["CaseNo"]</td><td width=15%>$row["CaseName"]</td><td width=12%>$row["DateFiled"]</td><td width=12%>$row["DateTermed"]</td><td width=12%>$row["DateReopen"]</td><td width=9$>$row["PartyName"]</td><td width=13%>$row["PartyType"]</td><td width=13%>$row["Initials"]</td></tr></table>\n";
by
?>
<table border=2 width=98%>
<tr>
<td width=10%><?echo $row["CaseNo"];?></td>
<td width=15%><?echo $row["CaseName"];?></td>
<td width=12%><?echo $row["DateFiled"];?></td>
<td width=12%><?echo $row["DateTermed"];?></td>
<td width=12%><?echo $row["DateReopen"];?></td>
<td width=9$><?echo $row["PartyName"];?></td><td width=13%><?echo $row["PartyType"];?></td>
<td width=13%><?echo $row["Initials"];?></td>
</tr>
</table>
easier to read
four
I thing that named cell in $row is not right,
mysql_fetch_row return array(i Use Php3).
i use number as it:
$row[0] for each cell