Adding multiple inputs to file php form submit

前端 未结 2 531
抹茶落季
抹茶落季 2021-01-25 09:43

I have a form that looks like so:


         


        
2条回答
  •  死守一世寂寞
    2021-01-25 10:19

    It's not so difficult: main idea is to use IDs for each iteration, so your inputs will have unique names and will be processed without problems

    for ($i=0;$i<10;$i++){
       echo "";
    }
    

    So, you take your code of current set of inputs with lables and add to input names IDs, formed on each circle iteration. Be carefull about ' and "!

提交回复
热议问题