By y.p on
does anyone have an idea how I got into my php module a taxonomy term using a Form (the values in the taxonomy term are for example: (Bachelor electronics, industrial sciences, chemistry, mechanics and so on). I have, for example in my Drupal Form: Which course:. Then I will choose from: Bachelor electronics, industrial sciences, chemistry, mechanics. these must come from a list of Drupal Taxonomy into my Drupal Form.
Thanks in advance!
Comments
Why not just use a content
Why not just use a content type instead of making a custom form?
Thanks for your comment! And
Thanks for your comment! And no it must be in a Drupal Form.
But I think the following link is wat i'm looking for.
http://drupal.org/node/91924
Correct me if i'm wrong!
greetings!
That is for D5, you should
That is for D5, you should use taxonomy_get_tree($vid) to get the list of terms for a given vocabulary.