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