Creates three SELECT form fields Month Day and Year
function DateSelector($inName, $useDate=0) { /* create array so we can name months */ $monthName = array(1=> "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); /* if date invalid or not supplied, use current time */ if($useDate == 0) { $useDate = Time(); } /* make month selector */ echo ""; /* make day selector */ echo ""; /* make year selector */ echo ""; } ?>