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
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.