After a program table is connected and queried, the result is & nbsp; I want to display a drop-down list box. after clicking the drop-down list, how can I implement it in PHP ?, You are actually a classification. it can be implemented only by sub-classes. your database table is estimated to have to be changed. php is not very clear about how to implement this function, flex is A program for A to rewrite the drop-down list box.
After the table connection is queried, the result is:
I want a drop-down list box, which is like this after clicking the drop-down list.
How can I implement it in PHP?
------ Solution --------------------
You are actually a classification. it can be implemented only by sub-classes, and your database table has to be changed.
------ Solution --------------------
Php does not know how to implement this function. flex is the AS file to rewrite the drop-down list box.
However, you can use two drop-down lists to add an onchange event to the first drop-down list, write a js method by yourself. when the value of the first drop-down list box is changed, use this option as the query condition to select the value of the second drop-down list box and then display it ....
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