$days = $days_of_week[2];
if (date('d/m/Y') == $days) {
$today = "Correct";
} else if (date('d/m/Y') != $days) {
$today = '<br>Non correct<br>';
$today1 = date('d/m/Y');
$today2 = $days_of_week[2];
}
当我回显$today
,$today1
和时,这会返回$today2
。
不正确 2013 年 6 月 11 日 2013 年 6 月 11 日
我在这里错过了什么吗?试过了===