How to get multiple values from a single <select> variable in HTML/PHP?

Tiny Hero

New Member
Alright, so what I have is a standard select option in an HTML form, but what I'm trying to do is send over multiple values to the receiving PHP script from a single option value.Such as something like this (I know it's incorrect):\[code\]<select name="size" id="size" type="text"><option value="http://stackoverflow.com/questions/12791021/3" value="http://stackoverflow.com/questions/12791021/5" >3 Inches by 5 Inches</option><option value="http://stackoverflow.com/questions/12791021/6" value="http://stackoverflow.com/questions/12791021/4" >6 Inches by 4 Inches</option><option value="http://stackoverflow.com/questions/12791021/8" value="http://stackoverflow.com/questions/12791021/10" >8 Inches by 10 Inches</option></select>\[/code\]And then on the receiving PHP script it would perhaps get some sort of "size[1], size[2]" or something. If anybody knows how to do this, any help would be terrific. I've searched around quite extensively, but I haven't seen anything quite like this. Thanks again!
 
Back
Top