A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1

SELECT * from imagenes_viajes_relacion INNER JOIN imagenes_viajes on imagenes_viajes_relacion.id_imagenes = imagenes_viajes.id where imagenes_viajes_relacion.id_viajes =

Filename: /home/eljesuita/public_html/models/basic.php

Line Number: 44