Pastebin

Paste #232:

< previous paste - next paste>

Pasted by tdn

Download View as text

/* Get tags for an article */
function get_tags_for_article($article_id) {
  $q = prepare_statement("SELECT AT.name 
FROM article_tag AT
WHERE article_id = %s", $article_id);
  return exec_statement($q);
  
}

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.