Questions about refreshing: select an item in the drop-down box and the code for this item automatically appears next to it

Source: Internet
Author: User
Refreshing: select an item in the drop-down box. the code that automatically appears next to this item is as follows: & lt ;? If & nbsp; ($ mark = 2) {$ SQL = & quot; select & nbsp; dwmc, id & nbsp; from & nbsp; s: select an item in the drop-down box and the code for this item automatically appears next to it.
The following shows how to read the database content to the drop-down list:
If ($ mark = 2 ){
$ SQL = "select dwmc, id from s_dwmc where dwlb = '04 '";
$ Result = OciParse ($ DBCONN, $ SQL );
Ociexecute ($ result );
?>
<?While (OciFetchInto ($ result, & $ result1 )){?> }}Else {Echo $ arr_s_QZJX_AZSQD [4];}?>Select> Now I want to display the ID value next to an item in the drop-down box. what can I do?------ Solution --------------------
Unique
Second, second, and second
3, 3, 3
4th 4th

1
------ Solution --------------------
Upstairs positive solution
------ Solution --------------------
Mark
------ Solution --------------------
Ajax
------ Solution --------------------
Score
------ Solution --------------------
Jiefen
------ Solution --------------------
Ajax

Level 2 linkage
------ Solution --------------------
Dom and bom problems

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: info-contact@alibabacloud.com 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.