[eluser]Unknown[/eluser]
1. try running the query in your database, do you get any results?
2. try a vardump directly in the model.
3. try vardump in the controller
4. try vardump in the view
Now you should know where it is going wrong.
Code:
if(isset($country)){
echo "country variable is set :)";
foreach($country as $Result) {
echo "<option value=" . $Result->country_id . ">" . $Result->country_name . "</option>\n";
}
}else{
echo "the country variable was empty";
}