Welcome Guest, Not a member yet? Register   Sign In
getting the select value
#6

[eluser]_Moat_[/eluser]
CroNiX,
just to be clear, with my code i was able to fill the options from db without a problem, but when i submit the form and try to catch the selected option it gives me 0.

now i tried what u suggested but still the post of the 'ID' => 0
and the variable in
Code:
echo form_dropdown('ID', $ctg_ids, set_value('ID'), 0);
this line should be
Code:
echo form_dropdown('ID', $frm1_ctg, set_value('ID'), 0);
since i store it in my controller at $frm1_ctg

thnx for your help.


Messages In This Thread
getting the select value - by El Forum - 07-12-2012, 10:56 AM
getting the select value - by El Forum - 07-12-2012, 01:02 PM
getting the select value - by El Forum - 07-12-2012, 01:03 PM
getting the select value - by El Forum - 07-12-2012, 01:07 PM
getting the select value - by El Forum - 07-12-2012, 01:07 PM
getting the select value - by El Forum - 07-12-2012, 01:26 PM
getting the select value - by El Forum - 07-12-2012, 01:42 PM
getting the select value - by El Forum - 07-12-2012, 02:46 PM
getting the select value - by El Forum - 07-12-2012, 02:59 PM
getting the select value - by El Forum - 07-12-2012, 03:03 PM
getting the select value - by El Forum - 07-15-2012, 04:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB