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

[eluser]_Moat_[/eluser]
my mistake i did post an old code
here is the code which still on post gives me 0 for the $category
Code:
<select name="ID">
                   <option>Chose a Category</option>
                    &lt;?php $i = 0; foreach ($frm1_ctg as $key) { ?&gt;
                    <option value="&lt;?php echo set_value() == "" ? ($frm1_ctg[$i]['ID']) : set_value("ID") ?&gt;">&lt;?php echo $frm1_ctg[$i]['CATEGORY_NAME'];?&gt;</option>
                   &lt;?php $i++;} ?&gt;
               </select>


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