How to obtain the value in the top-left menu selection box

Source: Internet
Author: User
How to obtain the value HTML & lt; selectname = & quot; selTest & quot; & gt; & nbsp; & lt; optionvalue = & quot; 1 & quot; in the drop-down menu selection box; & gt; t1 & lt;/option & gt; & nbsp; & lt; o how to obtain the values in the drop-down menu selection box

For example, if t2 is selected, how can I call this value in php?

What I want is not $ _ POST ['seltest']. The value is '2'. what I want is the value of T2. how should I perform this operation?

------ Solution --------------------
$ Box =" Choose Build
\ N ";$ Query0 = "select distinct build_version from REGRESSION_STATUS ";$ Result0 = mysql_db_query ($ database, $ query0) or die ("Failed Query1 ");While ($ thisrow0 = mysql_fetch_row ($ result0 )){$ Build_version = $ thisrow0 [0];If ($ build_id = $ build_version)$ Box. ="$ Build_version\ N ";Else$ Box. ="$ Build_version\ N ";}$ Box. ="";Echo $ box;Echo"";


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.