two values for one name in input

前端 未结 5 2139
天涯浪人
天涯浪人 2021-01-05 05:39

I have one input (type radio) that I want to insert it 2 values, something like that:



        
5条回答
  •  不思量自难忘°
    2021-01-05 06:15

    If I understand your question correctly, can you set the value of your radio to something like "value1-value2" and then in your php just seperate value1 from value2 with explode(). You could use any other seperator other than '-' too.

    Edit

    based on your exmaple:

         
    

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题