Welcome Guest, Not a member yet? Register   Sign In
Form validation and re-population - Not Working
#2

[eluser]Henry Weismann[/eluser]
Try:

Code:
<?php echo form_dropdown('id_country',$arr,set_value('id_country',$id_country));

Also why are you checking if the user is logged in twice. You may want to think of checking if someone is logged in inside your controller class's constructor method. That will save you time from not having to write that logic more then once and it will make your application run faster without needing to process that function more then once.


Messages In This Thread
Form validation and re-population - Not Working - by El Forum - 12-21-2008, 06:11 PM
Form validation and re-population - Not Working - by El Forum - 12-21-2008, 11:11 PM
Form validation and re-population - Not Working - by El Forum - 12-22-2008, 10:52 AM
Form validation and re-population - Not Working - by El Forum - 12-22-2008, 11:46 AM
Form validation and re-population - Not Working - by El Forum - 12-22-2008, 11:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB