Thanks for your reply blogsdna,
Two things:
1. When I pass “america”, it’s returning “country”, which is correct, it is also returning “america”, I need it to only display the parent?
2. It’s passing back the name of the parent, I need it to pass back the ID of the parent category so I can use that in PHP.
Let me explain, I would like to have an output like this..
Countries
America, South Africa, Russia
Basically showing which children belong to that parent (there will be multiple parents, so I will have to create an array). I also need to then be able to wrap tags around the children and parent, so as to do something like..
America
Make sense?