Clark - LFA PHP Page


_WEBPAGE; function table() { $months = array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'); $days = array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); echo ""; for($i = 0; $i < count($months); $i++) { $number = $i+1; if($i%2 == 0){ echo ""; } else { echo ""; } } echo "
Number Months Days
$number$months[$i]$days[$i]
$number$months[$i]$days[$i]
"; } table(); echo ""; echo ""; ?>