I have a articles system, and I want to make it display the section that the article that your viewing is in. The articles are stored in different tables from the sections, but in the articles table, it has a number for the section that it is in, and in the section table it has id which is the number thats also found in each article table row, and then it has the actual name. I know that I would have to get the number from the article-not a problem- for the section that its in, then, I need to access the sections table, and then have it print out the name that goes with the ID of the section. Now then, I have altered my query into this
[code]SELECT section,title,thearticle FROM cmsarticles WHERE ID = ‘.$_GET[‘id’]
which will bring the section number out along with the rest of the article, but now, I need to write a query which can access this first query in some way, and allow it to match up the section number with the section name, and I dont know how I would go about this. Please help. Thanks, ~Travis