<?php $sel_day_list = array(); for ($i=1; $i<=28; $i++) { $sel_day_list['A'.$i] = $i; } $test = '41'; if (in_array($test, $sel_day_list)) { echo 'IN'; } else { echo 'NO'; }
You have javascript disabled. You will not be able to edit any code.