i tried this sql syntax
SELECT c.categoryid, c.category FROM user_category u, categories c WHERE u.userid='$row[userid]' AND c.categoryid <> u.categoryid
I want to see all the categories that each categoryid is not in user_category table.
where is my fault?