Problems coding for form_radio()

#7
[eluser]Pascal Kriete[/eluser]
You can still use set_value(), you just need to compare it to what you expect to get:
Code:
&lt;?php echo form_radio("testing", "val1", (set_value("testing") == "val1") ); ?&gt; VAL1<br />
&lt;?php echo form_radio("testing", "val2", (set_value("testing") == "val2") ); ?&gt; VAL2<br />


Messages In This Thread
Problems coding for form_radio() - by El Forum - 04-20-2010, 04:21 AM
Problems coding for form_radio() - by El Forum - 04-20-2010, 05:00 AM
Problems coding for form_radio() - by El Forum - 04-20-2010, 05:54 AM
Problems coding for form_radio() - by El Forum - 04-20-2010, 05:55 AM
Problems coding for form_radio() - by El Forum - 04-20-2010, 12:53 PM
Problems coding for form_radio() - by El Forum - 04-21-2010, 12:27 PM
Problems coding for form_radio() - by El Forum - 04-21-2010, 02:24 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.