Any reason why you can’t use WordPress API?
$cats = get_categories(array(
'child_of'=>1
));
See Codex here.
Any reason why you can’t use WordPress API?
$cats = get_categories(array(
'child_of'=>1
));
See Codex here.