I am stuck!
Please help me out..
I am using this query right now, to produce a list of main categories.
All main categories have the value 0 in ParentID.
SELECT CatID, CatTitle, ParentID
FROM cats
WHERE ParentID = '0'
ORDER BY CatTitle ASC
This query produce a return like:
5,Cars, 0...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.