Hi all,
I got a select tag with some options in a HTML form:
(the data will be collected and processed using PHP)
Testing:
<SELECT NAME="Testing">
<OPTION VALUE="1"> One
<OPTION VALUE="2"> Two
<OPTION VALUE="3"> Three
</SELECT>
Is it possible for an option to carry multiple values like when a user selects "One", then a few other values related to this option will be written to the Database.
How should I design the SELECT
Tag so that each of the options can carry one than one value like this:
<SELECT NAME="Testing">
<OPTION VALUE="1" value="2010"> One
<OPTION VALUE="2" value="2122"> Two
<OPTION VALUE="3" value="0"> Three
</SELECT>