id) { $tag = ORM::factory("tag", $one_tag->id); $display_tags[] = array(html::clean($tag->name), $tag->url()); $last_tagid = $one_tag->id; } } // Sort the array. asort($display_tags); // Print out the list of tags as clickable links. $not_first = 0; foreach ($display_tags as $one_tag) { if ($not_first++ > 0) { print ", "; } print "" . $one_tag[0] . ""; } ?>