Situation
I was putting together a script in which I knew I should have 17 fields, but I still did not know which ones to call, which looks like this:
// ds_ind_exig_iss
// ds_ind_exig_icms
// ds_ind_exig_impressao_documento
// ds_ind_exig_utilizacao_documento
// ds_ind_exig_livro_movimento_combustivel
// ds_ind_exig_registro_veiculo
// ds_ind_exig_registro_inventario
// ds_ind_oper_escrituracao_contabil
// ds_ind_oper_iss
// ds_ind_oper_retencao_tributaria
// ds_ind_oper_icms
// ds_ind_oper_icms_st
// ds_ind_oper_antecipacao_tributaria
// ds_ind_oper_ipi
// ds_ind_oper_registro_inventario
$registro0030 = array();
$registro0030[] = 1;
$registro0030[] = 7;
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
$registro0030[] = $this->dados['form'][''];
Doubt
How do I reallocate the comment fields for each ['']
, respectively, given that they follow a sequence?