Welcome Guest, Not a member yet? Register   Sign In
set_radio problem
#5

[eluser]Aken[/eluser]
FYI, you don't need the ternary if/else there. The comparison itself will return true or false.

Code:
echo form_radio($attrs, '11', ($result == 11));


Messages In This Thread
set_radio problem - by El Forum - 03-11-2013, 07:13 AM
set_radio problem - by El Forum - 03-11-2013, 08:13 AM
set_radio problem - by El Forum - 03-11-2013, 08:31 AM
set_radio problem - by El Forum - 03-12-2013, 01:45 AM
set_radio problem - by El Forum - 03-12-2013, 11:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB