Getting taxonomy tags id from the node - the WRONG way

Tags: 
$node_taxonomy = taxonomy_link('taxonomy terms', $node);
foreach ($node_taxonomy as $value) {
  $id = substr($value['href'],14);
}

Trackback URL for this post:

http://alexisyes.com/trackback/54

No comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.