Im having trouble with an mySQL Query .What i need is a query that will display on the same page where im viewing a post a list of links to posts in the same category on the side of the page.Im almost finished a music site similar to youtube where users can listen to a track and see a list of tracks beside the post that are in the same category. Any Information Ive found on this is just related to Wordpress pluggins which im not using. My Database Tables are
Table_categories
cat_id
cat_name
Table - Mixes
mix_id
mix_subject
mix_description
mix_date
mix_cat -- mix_cat is the foreign key for categories.cat_id
The cat_id of Categories is linked to the foreign key mix_cat in table Mixes.I Know it has something to do with ?id= number of the id in one of the table,s Cheers guys Thanks for your help Trevor