Hello Niurexx,
I'm not sure about what you mean, but I will answer for what I understand
You want an "Add new field" function,
let's say your fields' names are: input1 , input2 , input3, ...
And as you said, you don't now how much there are because the user will add as he want...
One solution is:
In php read input1, input2, ... in a loop until he get an empty input, so that empty field does not exist, the loop is working from 1 to a maximum number ( 100, or whatever), he get the value of the fields, until one of the values is "" (input n ), so then it exit the loop, easy I think ...
But you need to oblige the user to not keep one field empty ...(not very difficult )
Another solution:
When the user want to write
|