![]() |
Select Box - Value selected from variable The option goes into the database, and I want to pull out the data (using PHP) and have the option that they chose as the default value. How can I do this? |
Re: Select Box - Value selected from variable To check the box, include the option checked="yes" within the input tag; like this: <input type="checkbox" checked="yes" name="optionName" value="optionValue" /> As for how you store and fetch their choices - that's not a difficult job for a php programmer but would take a lot more than a short forum post to answer! Perhaps you could let me know how much php you know already. |
| All times are GMT -6. The time now is 05:04 PM. |