Database Error

Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'omra AND tranche_id = 1 AND pension_base = 1 AND categorie_chambre_base = 1 GROU' at line 1

SQL Query: SELECT hotel_id, hotel_name, star_name, ville_id, ville_name, categorie_chambre_id, categorie_chambre_name, pension_id, pension_name FROM hotel_site WHERE hotel_id = 4.omra AND tranche_id = 1 AND pension_base = 1 AND categorie_chambre_base = 1 GROUP BY hotel_id

Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp

Stack Trace