FALLO en select SELECT peli_imag.idp,peli_imag.imagen,pelicula.enlace,pelicula.titulo FROM peli_imag LEFT JOIN pelicula ON peli_imag.idp=pelicula.Idp LEFT JOIN peliimag_principal ON peli_imag.id=peliimag_principal.id_foto where peliimag_principal.id_actor= order by peli_imag.idp desc :