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 '' at line 1 (SELECT * from fichas where id_ficha=)
BEARIZ.ORG
..
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 'order by orden desc' at line 1 (select * from imagenes where idFicha= order by orden desc)
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 'order by orden desc' at line 1 (select * from ficheros where idFicha= order by orden desc) 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 'order by orden desc' at line 1 (select * from enlaces where idFicha= order by orden desc)