0

Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ')' in /wp-content/themes/dream/search.php on line 75

if (!empty($available['from'] && $available['to']) && ($theDate > $availableFrom) && ($theDate < $availableTo)) { ?>
Vadim Kotov
  • 7,766
  • 8
  • 46
  • 61

1 Answers1

0

Try this :

if (!empty($available['from']) && !empty($available['to']) && ($theDate > $availableFrom) && ($theDate < $availableTo)) { ?>
vikalp
  • 310
  • 1
  • 8