Hello my page gives me an error that satates:
Parse error: parse error in /home/httpd/html/test/fichedb/Fische.php on line 85
When I go into the code the php file is only 81 lines long how can this be?
Below is the code maybe someone can help me understand what is going on
<!DOCTYPE HTML PUBLIC "-//SoftQuad Software//DTD HoTMetaL PRO 6.0::19990601::extensions to HTML 4.0//EN" "hmpro6.dtd">
<HEAD>
<TITLE>Fiche Database results</TITLE>
</HEAD>
<BODY>
<P ALIGN="center"><IMG BORDER="0" SRC="FicheDatabase.jpg" WIDTH="632"
HEIGHT="121"></P>
<table border="0" width="98%" cellpadding="0">
<tr>
<td width="10%" bordercolor="#FFFFFF"> <img border="0" src="CaseName.jpg"
width="85" height="51"></td>
<td width="17% bordercolor="#FFFFFF"> <img border="0" src="casenumber.jpg"
width="77" height="51"></td>
<td width="11%" bordercolor="#FFFFFF"> <img border="0" src="DateFilied.jpg"
width="86" height="51"></td>
<td width="13%" bordercolor="#FFFFFF"> <img border="0" src="DateTerminated.jpg"
width="82" height="51"></td>
<td width="11%" bordercolor="#FFFFFF"> <img border="0" src="DateReOpened.jpg"
width="81" height="51"></td>
<td width="12%" bordercolor="#FFFFFF"> <img border="0" src="PartyName.jpg"
width="85" height="51"></td>
<td width="12%" bordercolor="3FFFFFF"> <img border="0" src="PartyType.jpg"
width="74" height="51">
</td>
<td width="12%" bordercolor="#FFFFFF">
<img border="0" src="JudgeInintals.jpg" width="79" height="51"></td>
</tr>
</table>
<?PHP
$connection=mysql_connect (localhost, user, pass);
if($connection ==false) {
echo mysql_errno().":".mysql_error()."<br>";
exit;
}
$query="Select case.CaseNo,case.CaseName,case.DateFiled,case.DateTermed,
case.DateReopen,judge.Initials,party.PartyName,party.PartyType
from case, judge, party
where (judge.Initials like '$Initials' or case.CaseNo like '$CaseNo' or party.PartyName like '$PartyName') and (case.aocode=judge.ao_code and case.CaseNo=party.CaseNum)";
$result=mysql_db_query("fichedb",$query);
if ($result) {
// line 49
$numOFRows=mysql_num_rows($result);
for($i=0;$i<$numOFRows; $i++){
{
$CaseNo=mysql_result($result, $i, "CaseNo");
$CaseName=mysql_result($result, $i, "CaseName");
$DateFiled=mysql_result($result, $i, "DateFiled");
$DateTermed=mysql_result($result, $i, "DateTermed");
$DateReopen=mysql_result($result, $i, "DateReopen");
$PartyName=mysql_result($result, $i, "PartyName");
$PartyType=mysql_result($result, $i, "PartyType");
$Initials=mysql_result($result, $i, "Initials");
echo "<table border=2 width=98%>";
echo "<tr><td width=10%>$CaseNo</td><td width=15%>$CaseName</td><td width=12%>$DateFiled</td><td width=12%>$DateTermed</td><td width=12%>$DateReopen</td><td width=9$>$PartyName</td><td width=13%>$PartyType</td><td width=13%>$Initials</td>
</tr>\n";
}
echo "</table>\n";
}
// else{
// echo "Something is wrong";
//echo mysql_errno().":".mysql_error()."<BR>";
// mysql_close();
?>
<p>
<p align="center"><a href="Fische.html"><img border="0" src="NewQuery.jpg" width="446" height="125"></a></p>
<Center>Click if you would like to perform a new query</center>
<br>
<p>
</BODY>