解析错误:语法错误,意外的T_BOOLEAN_AND,期待')' 第75行/wp-content/themes/dream/search.php
if (!empty($available['from'] && $available['to']) && ($theDate > $availableFrom) && ($theDate < $availableTo)) { ?>
答案 0 :(得分:0)
试试这个:
if (!empty($available['from']) && !empty($available['to']) && ($theDate > $availableFrom) && ($theDate < $availableTo)) { ?>