Is there a way to use a variable to get another variable?
Basically, i have this:
$feb_days = 28;
and then I have this:
$timeformonth = time();
$monthcode = date("M", $timeformonth);
$monthcodelower = strtolower($monthcode);
$cur_month = $monthcodelower;
$cur_month .= "_num";
Now, $cur_month echoed would output feb_days. Is there a way in PHP to get $cur_month to output 28?