阅读背景:

其他形式的PHP表单,如何多选输出结果输入文本

来源:互联网 

Here is the form

这是表格

form.php

     <form name='formONE' action='form.php'>
        <select name='multiselect[]' method='post'>
           <option name='1'>one</option>
           <option name='2'>tow</option>
           <option name='3'>three</option>
           <option name='4'>four</option>
        </select>
       <input type='submit' value='choosed' />
     </form>
   <form name='formTOW' action='form.php'>
      <input type='text' name='text1' />
      <input type='text' name='text2' />
      <input type='text' name='text3' />
      <input type='text' name='text4' />
      <input type='text' name='selectedone' value='
             <? foreach($_post['multiselect'] as $slct){print ", $slct";}' />
     <input type='submit' value='save'/>
   </form>
     <form



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: