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

[eluser]CroNiX[/eluser]
And this is still wrong:
Code:
<option value="&lt;?php echo set_value() == "" ? ($frm1_ctg[$i]['ID']) : set_value("ID") ?&gt;">&lt;?php echo $frm1_ctg[$i]['CATEGORY_NAME'];?&gt;

set_value() expects a parameter, the name of the form element. You can't use
Code:
if (set_value() == '')
, which you seem to be using all over the place. I'd read up on set_value().


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