Tuesday, 3 July 2012

Get Child taxonomy items in Drupal

$parent_tid = 1002;
 $childs = taxonomy_get_children($parent_tid);
 foreach ($childs as $ksubspec) {   
     $childs_lists .= $ksubspec->name." | ";
 }
echo "Child Taxonomy list : ".$childs_lists; 

No comments:

Post a Comment

Thank you so much for providing your valuable feedback. I will will look into them and update my skills & technologies accordingly.