0

I keep receiving a syntax error for the following code line using MYSQL 5.1

if(isset($_REQUEST['filter']) && (strlen($_REQUEST['filter']) > 0) && ($_REQUEST['filter'] == 'all')) {
$getqry = "SELECT * FROM ".$dbtbrestaurants."";
}

Can anyone help me understand why I an receiving a syntax error for the above code and help me fix this.

Thank you

tony
  • 17
  • 2

0 Answers0