March 10, 201016 yr Hello guys, from my sign up form i make my sex field which is dropdown, which options are SELECT YOUR SEX, MALE, FEMALE. In my edit profile page i also have the sex field as dropdown but i want it to always echo or show the value in the database. as in if the member has signup as a female whenever she visit her edit-profile page the dropdown should show FEMALE which is in the database of the member as her sex and not SELECT YOUR SEX. kindly help regards
March 10, 201016 yr <select name="LangUse" id="LangUse"> <option value="<?php print $LangUse?>" selected><?php print $LangUse?></option> <option value="Cart">Cart</option> <option value="Basket">Basket</option> <option value="Trolley">Trolley</option> </select> Get the value from the data base then construct as above.
March 10, 201016 yr Author <select name="LangUse" id="LangUse"> <option value="<?php print $LangUse?>" selected><?php print $LangUse?></option> <option value="Cart">Cart</option> <option value="Basket">Basket</option> <option value="Trolley">Trolley</option> </select> Get the value from the data base then construct as above. topshoper thanks for your help. i really appreciate regards
Create an account or sign in to comment