$sql = "SELECT noticia.*, archivos.* FROM noticia INNER JOIN archivos ON noticia.id = archivos.id_noticia";