|
hi guys!
do you have an idea on how to put/link the value of a list box into MS Access Database? i have a project that has a long list of "value option" i want it to put into a MS Access database to reduce html code, any help would be highly appreciated. below is my sample code. thanks!
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Sample Project</title>
</head>
<body>
<p>
<FONT FACE="sans-serif">
<SELECT id="Select5" NAME="Select5" SIZE="9" MULTIPLE style="width: 112; height: 150">
<option value="Africa">Africa</option>
<option value="Antarctica">Antarctica</option>
<option value="Asia">Asia</option>
<option value="Australia">Australia</option>
<option value="Europe">Europe</option>
<option value="North America">North America</option>
<option value="America">South America</option>
</SELECT></FONT></p>
</body>
</html>
|
|
|
This is not a javascript question.
To have a web page get content from a database, you'll need to use server-side scripting such as ASP, PHP, JSP, CGI, or CF (Cold Fusion).
OK, technically, you can write ASP scripts using javascript, but I don't recommend it.
So, the question is what operating system and what web server are you using? You mentioned Microsoft Access, so I will assume you are dealing with IIS on Windows. In this case, use VBScript to code an ASP script that builds your page. It will be able to connect to the access file, select the data out, and insert it into your HTML.
How do you do this? That's a big question! If you are not a programmer, then you got to start with a basic tutorial. Just Google for ASP Tutorial.
I do not recommend ASP.NET for a beginner just wanting to do some simple scripting. ASP.NET is powerful for sure, but in my opinion, .NET ripped web development out of the hands of the casual programmer. But hey, that's good for me! I'm a professional programmer!
|
|
|
|
|
|
|
|
|
|