Hi all,
How do I use the value of the input field in the below select menu? So if $date1 is used then it should appear in place of 'Select Location'.
Thanks.
<input type="text" name="date1xx" value="<?php if(isset($date1)) { echo $date1; } ?>" size=25>
Here's the select menu...
echo '<label for="location">Location: </label><select name="location">';
echo '<option value= "0">Select Location</option>';
while($row = mysql_fetch_array($result))
{
echo '<option value="'.$row['location_ID'].'">'.$row['location_name'].'</option>';
}
echo '</select>';