Posted By

pntp on 02/28/11


Tagged

joomla exto


Versions (?)

Exto joomla country selection list


 / Published in: PHP
 

  1. <?php
  2. $_country = extoGetSelectList("country_code");
  3. array_unshift($_country, array('code' => '', 'text' => JText::_("Please select...")));
  4. print JHTML::_("select.genericlist", $_country, "country", array("class" => "country form_select"), "code", "text", @$this->country);
  5. ?>

Report this snippet  

You need to login to post a comment.