controller = &$controller; $Articlez = new Article; //Model name $data = $Articlez->query("SELECT article_tags AS tag FROM articles"); //Select only the tags column. $this->controller->set('Tagz',$data); } } ?> ?>