Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

HTML and ACCESS Database

Posted on 2008-09-30
1
Medium Priority
?
240 Views
Last Modified: 2013-11-28
i recently created a web page with the following HTML CODE.    
<form>
    <LABEL for="firstname">First name: </LABEL>
              <INPUT type="text" id="firstname"><BR>
    <LABEL for="lastname">Last name: </LABEL>
              <INPUT type="text" id="lastname"><BR>
    <LABEL for="email">email: </LABEL>
              <INPUT type="text" id="email"><BR>
    <INPUT type="radio" name="sex" value="Male"> Male<BR>
    <INPUT type="radio" name="sex" value="Female"> Female<BR>
    <INPUT type="submit" value="Send"> <INPUT type="reset" Value="ClearAll">
    </form>
using a the send button. I would like to insert the information into an access database. Could you explain how to do this ?
0
Comment
Question by:dfriend12
1 Comment
 
LVL 16

Accepted Solution

by:
Brian Pringle earned 2000 total points
ID: 22609626
HTML does not do this.  Your form needs to have an action, which would point to another program that will process the data being submitted by the form.  That program then takes the data and imports it into Access.

You can find CGI scripts if you do a Google search, but your Web hosting company will have to support it.  

The easier way to handle this is by using either PHP or ASP (depending on what your Web hosting company offers) and allow that to collect/import the data.  

This is not a quick explanation, as there are books written on this subject.

Just to get you started:

PHP: http://www.w3schools.com/PHP/php_db_odbc.asp

ASP: http://www.w3schools.com/ado/ado_connect.asp

Search Google for "PHP Access Database" or "ASP Access Database" and you will find more information about it than you will care to read.  The best bet would be to go to a local bookstore, peruse their books to find one that describes your needs, and use that as a reference.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question