kproc
09-04-2006, 09:02 PM
Hi
I'm trying to set the value of my select box to equal the value of childsex. unfortanilty this does not work.
any idea how to get the value from my php variable to set the select value
<select name="childsex" id="childsex" value="<?php echo $childsex; ?>">
<option></option>
<option>Male</option>
<option selected>Female</option>
</select>
I'm trying to set the value of my select box to equal the value of childsex. unfortanilty this does not work.
any idea how to get the value from my php variable to set the select value
<select name="childsex" id="childsex" value="<?php echo $childsex; ?>">
<option></option>
<option>Male</option>
<option selected>Female</option>
</select>