简体   繁体   中英

how to add the number of form by the user with php to input the data

im design the form to record the payment plan for project by monthly so the user already know how long the project will spend some project have 4 month so mean the user have to record 4 monthly payment and some project have 8 month so mean the user have to record 8 mothly payment what I want is the user can choose input form for record for example if the choose 4 then the form will apprear for 4 so any suggestion the coding with php

thank you in advance

Your question is very unclear but it sounds like you are trying to create a form with a multi option box for "months" selection. Here is the HTML for a drop down box which you will have to echo in your PHP.

<select>
  <option value="4">4 Months</option>
  <option value="8">8 Months</option>
</select> 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM