- $query = "SELECT headline, title, abstract, article
- FROM Articles
- WHERE Article_id = $noticia";
+ $query = "SELECT A.headline, A.title, A.abstract, A.article,
+ A.publication_date, S.description, S.section_id
+ FROM Articles A, Sections S
+ WHERE Article_id = $noticia
+ AND A.section_id = S.section_id";