How can I get the term id after using taxonomy_save_term?
$term = array( 'vid' => 1, // Voacabulary ID 'name' => $data, // Term Name 'parent' => 181, // (Optional) Term ID of a parent term ); taxonomy_save_term($term); How do I get the term id that was just added?
You can get term id by echo $term->tid Thanks, Snehal
Static Main Page (login page) on Drupal Install
Drupal DB Query
Drupal, where I can find info about current active theme?
How to get to the admin page in Drupal
Drupal, where is edit account tab in user profile
Display new module in site
Showing a single node and all associated comments in Drupal 6 Views 2
Drupal Login page
Theming a field in Drupal-6
Viewing articles that are associated with taxonomy term A (AND) term B in Drupal 6
Drupal 6. Content Profile
Secondary Links in Blocks in Drupal 6
Is there a module that handles meta tags?
How do I get the results of a view and store them in a php var?
How do I set up my first view with Draggable Views module?