Solved

HTML and ACCESS Database

Posted on 2008-09-30
1
223 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
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

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…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
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 …

776 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