| | #1 |
| Warrior Member Join Date: 2011
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
| 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? |
| |
| | #2 |
| Always Learning War Room Member Join Date: 2011 Location: England, UK
Posts: 26
Thanks: 7
Thanked 13 Times in 8 Posts
Blog Entries: 3 |
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. |
| |
|
| Bookmarks |
| Tags |
| box, select, selected, variable |
| |