a form with four feilds
name
age
address
phno
and a submit button.
while submiting the form data that has to stored in the database,
i know to create the form, how should i connect with my database
I get this type of question often enough that I feel like I should write a tutorial or article. The first thing I would do is write a script that reads the four fields, just to make sure they arrived at the server. If your form says [html]<form action="test.asp" method="post">[/html]
then test.asp could say:
- for each x in request.form
-
response.write x & ": " & request.form(x) & "<br>" & vbNewLine
-
next
this is the first step I take whenever I handle a form. Try this and let me know if it works.
Jared