Non-Linear Database Retrieval

Posted by pws5068 on Stack Overflow See other posts from Stack Overflow or by pws5068
Published on 2010-06-08T02:15:18Z Indexed on 2010/06/08 2:22 UTC
Read the original article Hit count: 392

Filed under:
|
|
|
|

I'm building an article system, and each article will have one more Tags associated with it (similar to the Tags on this site).

The tables are set up something like this:

Article_Table
  Article_ID | Title | Author_ID |  Content | Date_Posted | IP ... 

Tag_Table
  Tag_ID | Name ...

Tag_Intersect_Table
  Tag_ID | Article_ID 

Is it possible query an article and all of its associated tags in one database call? If so, how is this done?

© Stack Overflow or respective owner

Related posts about php

Related posts about jQuery