Hi,
I have a question on how I do a multiple selection from a database. Basically I have one table that is this:
SELECT * FROM show_episodes ORDER BY show_episodes.release_date DESC LIMIT 6
but within this table is a (Show ID) number that represents the name of a show on another table within the same database.
How do I write up a php script that basically says if the show id=2, then show name?
Do you know what I mean?
Thanks,
I'm a newbie!
I have a question on how I do a multiple selection from a database. Basically I have one table that is this:
SELECT * FROM show_episodes ORDER BY show_episodes.release_date DESC LIMIT 6
but within this table is a (Show ID) number that represents the name of a show on another table within the same database.
How do I write up a php script that basically says if the show id=2, then show name?
Do you know what I mean?
Thanks,
I'm a newbie!