how to get only unique elements(no duplicate) in dropdown box in phalcon.....below is my code
<?php echo $this->tag->select(array("country", TblCountry::find("is_active = 1"), "useEmpty" => true, "emptyText" => "Please select", "using" => array("country_id", "country_name"), )); ?>
the country name here maybe same for various ids....
how can remove dupilcate entries..