[insert_php]
$this_month = $_GET[‘month’];
if ($this_month == ” || $this_month == 1) { $this_month_text = ‘January’; }
if ($this_month == 2) { $this_month_text = ‘February’; }
if ($this_month == 3) { $this_month_text = ‘March’; }
if ($this_month == 4) { $this_month_text = ‘April’; }
if ($this_month == 5) { $this_month_text = ‘May’; }
if ($this_month == 6) { $this_month_text = ‘June’; }
if ($this_month == 7) { $this_month_text = ‘July’; }
if ($this_month == 8) { $this_month_text = ‘August’; }
if ($this_month == 9) { $this_month_text = ‘September’; }
if ($this_month == 10) { $this_month_text = ‘October’; }
if ($this_month == 11) { $this_month_text = ‘November’; }
if ($this_month == 12) { $this_month_text = ‘December’; }
$this_year = $_GET[‘yr’];
$this_cat = $_GET[‘mcat’];
if($this_year == ”) { $this_year = ‘2017’; }
echo ‘‘.ucfirst($this_month_text).’ ‘.ucfirst($this_year);
if ($this_cat > 1) {
if($this_cat == 2) {$this_cat_text = ‘School-Age’;}
if($this_cat == 3) {$this_cat_text = ‘Preschool’;}
if($this_cat == 4) {$this_cat_text = ‘Infant-Toddler’;}
echo ‘ ‘.ucfirst($this_cat_text);
}
echo ‘‘;
[/insert_php]