Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/85.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 输入字段下拉列表MM/YY_Html_Css - Fatal编程技术网

Html 输入字段下拉列表MM/YY

Html 输入字段下拉列表MM/YY,html,css,Html,Css,我试图编辑一个插件字段,使用下拉列表,但需要一点帮助。以下是我到目前为止的情况: function payment_fields() { if ( $this->description ) echo wpautop(wptexturize($this->description)); echo '<label style="margin-right:46px; line-height:40px;"&

我试图编辑一个插件字段,使用下拉列表,但需要一点帮助。以下是我到目前为止的情况:

 function payment_fields()
      {
         if ( $this->description ) 
            echo wpautop(wptexturize($this->description));
            echo '<label style="margin-right:46px; line-height:40px;">Credit Card Number:</label> <input type="text" name="aim_credircard" /><br/>';
            echo '<label style="margin-right:30px; line-height:40px;">Credit Card Expiry (MM/YY) :</label> <input type="text"  style="width:50px;" name="aim_ccexpdate" maxlength="4" /><br/>';
            echo '<label style="margin-right:89px; line-height:40px;">CVV :</label> <input type="text" name="aim_ccvnumber"  maxlength=4 style="width:40px;" /><br/>';
      }
功能付款\字段()
{
如果($this->description)
echo wpautop(WPTextureize($this->description));
回音“信用卡号:
”; 回音“信用卡到期日(年/月):
; 回声“CVV:
”; }
我希望能够编辑下面的代码,以反映一个下拉的月份和年份,而不会为前端的提交创建问题,并选择和提交它现在的方式

 echo '<label style="margin-right:30px; line-height:40px;">Credit Card Expiry (MM/YY) :</label> <input type="text"  style="width:50px;" name="aim_ccexpdate" maxlength="4" /><br/>';
echo“信用卡到期日(MM/YY):

谢谢你

所以你想要两个字段,一个是MM,一个是YY,但是当它们被提交时,它们仍然作为一个名为
aim\u ccexpdate
的参数发布?是的,先生!这就是想法。非常感谢您的回复。如何关闭此线程?在这个问题上我不再需要帮助了。谢谢