Code:
Microsoft VBScript compilation error '800a0400'
Expected statement
/viewjob.asp, line 113
End If
^
This is the error I am getting....
this is the code
Code:
<%
If (objRs.EOF) then
%>
<P>Sorry, we do not hold any information about your previous Job history.
Else
<CENTER>
<FONT SIZE="5"><B>
Previous Job History
</B>
</FONT>
</CENTER>
<BODY>
<BR><BR>
<TABLE border=1>
<TR>
<TD>Job Start Date</TD>
<TD>Job End Date</TD>
<TD>Organisation Name</TD>
<TD>Job Title</TD>
<TD>Job Description</TD>
</TR>
Do While Not (objRs.EOF)
%>
<TR>
<TD><%=objRs("JobStart")%></TD>
<TD><%=objRs("JobFinish")%></TD>
<TD><%=objRs("EmployerName")%></TD>
<TD><%=objRs("JobRole")%></TD>
<TD><%=objRs("JobDetail")%></TD>
</TR>
<%
objRs.MoveNext
Do While Not (onjRs.EOF)
%>
</TABLE>
<BR>
<BR>
<A HREF="menu.asp">Return to the Main Menu</A>
<tr>
<td>
<font face="Arial" size="2">
<p align="center" style="margin-top: -1px; margin-bottom: -1px"><b> <a href="profile.asp?userid=<%=strUsername %>">View Profile</a> ||
<a href="edit.asp?.rand=<%= Md5Hash %>">Edit Account</a> ||
<a href="register.asp">New Sign Up</a> ||
<a href="forgot.asp?.rand=<%= md5Hash %>">Recover Password</a>
||
<a href="logout.asp?<%= Request.ServerVariables("QUERY_STRING")%>">Logout
</a> </b></p>
<p align="center" style="margin-top: -1px; margin-bottom: -1px"> </p>
<p> </p>
<p> </font></td>
</tr>
</table>
<!-- #include file="footer.asp" -->
<%
End If ****** LINE 113
objRs.Close
Set objRs=Nothing
objConn.Close
Set objConn=Nothing
%>
</body>
</html>
Line 113 is marked.
Could you please help to solve this erro?, I dont REALLY know what I am doing!!!
Cheers!
Richard Noon