How to post two values in an option field?

前端 未结 6 2137
野性不改
野性不改 2020-12-01 22:38

I\'d like to post two values in one drop down option and I\'m not sure about the best way to approach it.

The drop down list pulls data in from an external service.

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 23:41

    You could output something like:

    Then use preg_splitor explode to separate the two once the form data is processed.

提交回复
热议问题