-
my asp wont work!
It worked before..I was able to show the record
Here are the codes:
FONT face="Tahoma" size="2" color="Red"><%=(DBView("Message"))%><BR></font></TD>
</TR>
<TR><TD width="100%" height="20"></TD></TR>
<% DBView.MoveNext
curre = curre +1
wend
End if
%>
</body>
</html>
<TD width="100%" bgcolor="#800000" class="tbody">Messages: <B><%=pgs%>-<%=pgs+(curre-1)%> </B>of <B><%=(DBView.RecordCount)%></B></TD></TR>
<TR><TD width="100%" class="tbody">
<%
pages = int(dbview.recordcount \ 5)
if dbview.recordcount mod 5 <> 0 Then pages = pages + 1
if Cint(AI) = cint(pqs) Then response.write " <B>" & ai & "</B> "
if cint(AI) <> cint(pqs) Then response.write " <A href=""blarp.asp?page=" & ai & """>" & ai & "</A> "
Next
response.write ("]")
%>
-
Here is my code for the input:
<body>
<h3 align="center">Post your own Ad</h3>
<td width="424"><form method="post" name="form1" action="http://www25.brinkster.com/nothing2gein/db/blarp1.asp">
<p><strong>From</strong><br>
<input type="text" size="40" name="From"><br>
<strong>subject</strong><br>
<input type="text" size="40" name="subject"><br>
<strong>Date</strong><br>
<input type="text" size="40" name="date"><br>
<strong>Message</strong><br>
<input type="text" size="40" name="message"><br>
<p><input type="Submit" value="Submit" name"b1"> </font></p>
</form>
</td>
</tr>
</table>
</center></div>
</body></html>
-
when I click on submit..i'm getting HTTP500 internal server error
-
I'd recommend commenting out that entire section and bringing it back piece by piece. I'd also recommend liberal use of print statements for checking values while debugging and possibly tweaking your client/server settings to see non friendly error messages so you can see the actual error getting produced.
The last one will probably get you there the fastest...so you can actually see what piece it's choking on.