Table './madteam_usuaris/usuarisFotosGaleries' is marked as crashed and should be repaired SELECT SQL_CALC_FOUND_ROWS g.id,g.titolGaleria,g.fechaGal as fecha FROM madteam_usuaris.usuarisFotosGaleries g WHERE g.idUser='3254' ORDER BY fecha DESC LIMIT 1