HTML/PHP – Form – Input as array
Simply add [] to those names like <input type=”text” class=”form-control” placeholder=”Titel” name=”levels[level][]”> <input type=”text” class=”form-control” placeholder=”Titel” name=”levels[build_time][]”> Take that template and then you can add those even using a loop. Then you can add those dynamically as much as you want, without having to provide an index. PHP will pick them up just like your … Read more