Hey everyone.
I've written a PHP system to manage a Review website.
My displayreview.php file queries the Reviews table:
displayreview.php?id=67
The query here then looks up all the fields for ID 67, simple stuff.
My problem is, I wanna do a second query on the Reviews table underneath for related items (say, if there are reviews of the same band/record label.)
I want the query to select * from Reviews where, say, Record_Label=$Record_Label (as already defined in the first query), so that the results would display all other reviews for records released on Review 67's record label. I don't know if I could actually do this in a query anyway, but my main problem is how would I display these values? $BandName etc are already defined from the initial query, so how would I display any alternate ones for the second query?
Matt