It sounds like you are doing it wrong. The CategoryID should be the ID of the parent, not match the ID of the current row.
So a parent category might be:
ProductContentsID, ProductTitle, CategoryID
That would be the structure for the parent category being Weddings and both Reception and Ceremony as subcategories of that parent.