Generate a select dropdown of months using a loop.
Source Code
$months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
echo '';
foreach ($months as $month) {
echo "$month";
}
echo '';