Solved

HTML and ACCESS Database

Posted on 2008-09-30
1
217 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 500 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now