/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* Makes a html year select starting at the current + the next 2 years The string passed is the name of the select. usage: echo select_years('pickup_year'); */ function select_years($name){ return ' <select name="'.$name.'"> </select>'; }