Fatal error: Uncaught mysqli_sql_exception: 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 'and A.Colonia = B.ClaveColonia and A.Ciudad=C.ClaveCiudad and A.ClaveCategoria=D' at line 3 in /home/zonacomercialcom/public_html/recomendacioncliente.php:15
Stack trace:
#0 /home/zonacomercialcom/public_html/recomendacioncliente.php(15): mysqli_query(Object(mysqli), 'select A.* , A....')
#1 {main}
thrown in /home/zonacomercialcom/public_html/recomendacioncliente.php on line 15