taking array name as input code example Example: html input name array <label>First name</label> <input name="first_name[]">