<?php
//create an array for the month, days and year
$month = array(1=>'January', 'Feburary', 'March', 'April', 'May', 'June', 
				   'July', 'August', 'September', 'October', 'November','December');
$days = range(1,31);
$year = range(2005, 1940);

//generate the month pull down menu
echo '<select name="month">';
    foreach ($month as $key => $value) {
	echo "<option value=\"$key\">$value</option>\n";
	echo $value;
	}
	echo '</select>&nbsp;&nbsp;';	
//generate the day and year pulldowns
echo '<select name="emr_DOB" id="emr_DOB">';
foreach ($days as $value) {
	echo "<option value=\"$value=\">$value</option>\n";
	}
echo '</select>&nbsp;&nbsp;';
 
echo '<select name="year">';
foreach ($year as $value) {
echo "<option value=\"$value=\">$value</option>\n";
}
echo '</select>';
?></td></tr>
<tr>
<td nowrap><font color="red">Date Started</font>
<?php 
//create an array for the month, days and year
$month = array(1=>'January', 'Feburary', 'March', 'April', 'May', 'June', 
				   'July', 'August', 'September', 'October', 'November','December');
$days = range(1,31);
$year = range(2006, 1940);

//generate the month pull down menu
echo '<select name="month">';
    foreach ($month as $key => $value) {
	echo "<option value=\"$key\">$value</option>\n";
	}
	echo '</select>&nbsp;&nbsp;';
	
//generate the day and year pulldowns
echo '<select day">';
foreach ($days as $value) {
	echo "<option value=\"$value=\">$value</option>\n";
	}
echo '</select>&nbsp;&nbsp;';
 
echo '<select name="emr_startDate">';
foreach ($year as $value) {
echo "<option value=\"$value=\">$value</option>\n";
}
echo '</select>';
?>
</td></tr>
<tr>
<p><td align="center"><input type="submit" name="submit" value="Add New Employee" />
<input type="hidden" name="submitted" value="TRUE" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="reset" name="reset" value="Reset" /></td></tr>
</table>
</form>
<?php
include($_SERVER['DOCUMENT_ROOT'].('/includes/footer.php'));
?>