View Single Post
Old 02-09-2006, 10:50 PM  
BigFlexy
Registered User
 
Join Date: Sep 2004
Location: Brampton
Posts: 78
I think the problem is in the Inner Join statement.

JOIN wp_post2cat ON (wp_posts.ID = wp_post2cat.post_id)

Doesn't make sense to join the catagory id on the post id. Should be catagory ID on Catagory ID.

Also, only use one set of quotes. " or ' . Don't mix and match them. they always give headaches.
BigFlexy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote