So i have 2 tables in 1 database.
dvd and scene.
within those, dvd_id, dvd_title, ect....
and
scene_id, scene_title, ect..
I am able to pull in all the dvd info, I have scenes that are in relation to each dvd.
scene_title and dvd_title are both that same, how can i pull in just the scenes that corrospond with that dvd?
view.php?dvd_id=1
will bring in dvd 1, but you know that.
here is a sample of what i have tried.
"SELECT * FROM scene WHERE scene_title = '".$_GET['dvd_id']."'";
"SELECT * FROM scene WHERE scene_title = '$dvd_title'";
both are a no go.
any ideas?