Hello,
I have been nominated by my office to try to make the
football pool into a confidence pool. The Main task is to change the tie into points so I have done this
I added a field in the db called points
then change the code
original
Change to
and here is where I ran into problems. I cannot get the selected records into the db I think I am missing the connection between the "points" and the db
I have been nominated by my office to try to make the
football pool into a confidence pool. The Main task is to change the tie into points so I have done this
I added a field in the db called points
then change the code
original
Code:
<td align="center"><input class="radio" name="pick-<% = games(i).id %>" type="radio" value="<% = TIE_STR %>" <% = IsChecked(pick, TIE_STR) %> />
Change to
Code:
Points <select name="points"><option>
<option value="16"> 16 <option value="15"> 15 <option value="14"> 14 <option value="13"> 13 <option value="12"> 12 <option value="11"> 11 <option value="10"> 10 <option value="9"> 9 <option value="8"> 8 <option value="7"> 7 <option value="6"> 6 <option value="5"> 5 <option value="4"> 4 <option value="3"> 3 <option value="2"> 2 <option value="1"> 1
</select></td>
and here is where I ran into problems. I cannot get the selected records into the db I think I am missing the connection between the "points" and the db