Solved

HTML and ACCESS Database

Posted on 2008-09-30
1
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 16

Accepted Solution

by:
Brian Pringle earned 500 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

Industry Leaders: 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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

733 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