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
  • 8,084
  • 8
  • 48
  • 62

1 Answers1

0

Try this :

if (!empty($available['from']) && !empty($available['to']) && ($theDate > $availableFrom) && ($theDate < $availableTo)) { ?>
vikalp
  • 330
  • 2
  • 9