ERROR ...
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 type_element = 1 and ofertas.id_oferta = id_element and fec' at line 9 Listado de viajes:
 

Listado de viajes:

ofertas de viaje encontradas