Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

HTML and ACCESS Database

Posted on 2008-09-30
1
Medium Priority
?
232 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 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

Technology Partners: 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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

705 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