oceangirl06
New Member
- Joined
- Jan 6, 2005
- Messages
- 6
Hello,
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!
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!