php mysql query question.
How would I go about using php to query a database row, in a table.
For instance, I have a dynamic page setup now, lets say this one page has 20 different articles, and when you select an article from the left hand side, the article appears on the page (loads from the database).
So if you choose article A, article A's content appears on the page.
You choose article B, article B's content appears on the page
..so on and so forth.
Back to the question, how would I set this up in php so when article A is chosen, it selects article A's metadata (title, page desc, keywords) information, same with article B, C, etc? I already have a table set to go, just need a little help creating the code?
Thanks!
|