Skip to content
Advertisement

Tag: html-input

HTML/PHP – Form – Input as array

I got a form like this I’d like to have as $_POST output an array like: I know I could do something like name=”levels[1][build_time]” and so on, but since these elements get added dynamically, it would be hard to add an index. Is there another way? As suggested, I changed my form. I also included my whole HTML now, because

Advertisement