Posted by cover on 10/09/05 23:59
I have a form with two drop down boxes that are hard coded as in the
example below, and another drop down (pull down) box that is populated
as a result of a MySQL query. All appears to work as it should with
the exception that after choices have been made and the submit button
clicked, (to either enter the data into another database OR work
together in another query - I've tried both), the field that was
populated by the initial query does not pass it's data as the hard
coded fields do. In other words, the 'month' below passes user data
to $month in mmonth.php but the data in the queried cell 'person' does
not pass to $person in mmonth.php - can anyone tell me why is
that? TIA - appreciate all replies...
<form method="post" action="mmonth.php">
<input type="hidden" name="id" value="NULL">
<tr>
<td><b>Month:</b></td>
<td><select name="month">
<option value = "Jan">Jan</option>
<option value = "Feb">Feb</option>
<option value = "Mar">Mar</option>
<option value = "Apr">Apr</option>
<option value = "May">May</option> etc
</select>
</td>
</tr>
[Back to original message]
|