How to combine a database with a web page

oceangirl06

New Member
Joined
Jan 6, 2005
Messages
6
Hello, :oops:

I need help with two problems with the database for my web page.

For my web site I wanted that the people can choose between 16 different dog breeds and compare them.
One the first page, visitors can select 3 different dog breeds (they are written in 3 Selection fields). Then the visitor presses the button to get on the next page where the three selected dogs should stand with a picture and its vertical arranged characteristics (such as size, color, and behaviour).
I made the first page but I don’t know how to combine it with a database (I have only access 2000) and how the program “knows” what to choose. (I must confess that I have not much knowledge about JavaScript). I am really desperate as I can’t find an answer
This is an example of the selection fields:

<tr bgcolor="#fff0f0">
<td class="text" height="24" width="300" nowrap>
 First Dog
</td>
td class="text" width="299">
<select name="dogname1">
<option value="" selected>Selection</option>
<option value="">---</option>
<OPTION value="509">Poodle </OPTION>
<OPTION value="515">Shepherd dog </OPTION>
</select>
</td>
</tr>
<tr bgcolor="#fff0f0">
<td class="text" height="24" nowrap>
 Second Dog
</td>
<td class="text">
<select name="dogname2">
<option value="" selected>Selection</option>
<option value="">---</option>
<OPTION value="509">Poodle</OPTION>
<OPTION value="515">Shepherd dog</OPTION>
</select>
</td>
</tr>
<tr>
<td class="text" colspan="2" align="center">


<input type="submit" value="Show Dogs" class="button" color="#fff0f0">
</td>
</form>

The second problem goes in the same direction. I did a questionnaire where the visitor can fill in the attributes of his dream dog. This is also done in a selection field. The different values should bring the dog breed that can be taken into consideration. Additionally there should be a box to tick if something is absolutely necessary.
I made the site for this as well, but I don’t really know how to work the part with the database out.
This is a part of a box:

<tr>
<td align="left">  Family dog</td>
<td align="center"><select name="gprs"><option value="15">very important</option><option value="10">important</option><option value="5" selected>would be nice</option><option value="0">no selection</option></select></td>
<td align="center"><input type="checkbox" name="absolutely necessary" value="true"></td>
</tr>

I hope someone can help me!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
There is actually a really easy short fix for this, but I don't have it handy. If you do a web search for SQL and access, you might be able to get the solution that I used. Otherwise, I won't be back at work until Tuesday and I may be able to give you the information then.

Kevin
 
Upvote 0

Forum statistics

Threads
1,213,537
Messages
6,114,216
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top