I can not make a batch change of the information displayed through While
.
What I want to do is to create a new Array
with the information I am sending via POST
, that is, I send the information via POST
, which creates Array
below.
Array
(
[exibirconcessao] => Array
(
[0] => Array
(
[id] => 91
[field3] => 2222
[field2] => 3
[field4] => 2016-04-15 15:38:24
[field5] => REVENDA
[field12] => 1111
[field13] => 11111
[field61] => CRISTIANO
[field62] => DUTRA IGLESIAS
[field7] => RS1001-001
[field8] => RS Sede
[field14] => 1
[field9] => 4
[field10] => 1
[field16] => criado usuario
[numerochamado] =>
[novostatus] =>
[observacoes] =>
)
[1] => Array
(
[id] => 92
[field3] =>
[field2] => 1
[field4] => 2016-04-15 15:38:24
[field5] => REVENDA
[field12] =>
[field13] =>
[field61] => CRISTIANO
[field62] => DUTRA IGLESIAS
[field7] => RS1001-001
[field8] => RS Sede
[field14] => 2
[field9] => 4
[field10] => 1
[field16] => criado usuario
[numerochamado] =>
[novostatus] =>
[observacoes] =>
)
[2] => Array
(
[id] => 93
[field3] =>
[field2] => 1
[field4] => 2016-04-15 15:38:24
[field5] => REVENDA
[field12] =>
[field13] =>
[field61] => CRISTIANO
[field62] => DUTRA IGLESIAS
[field7] => RS1001-001
[field8] => RS Sede
[field14] => 3
[field9] => 4
[field10] => 1
[field16] => criado usuario
[numerochamado] =>
[novostatus] =>
[observacoes] =>
)
)
)
I want to create a new Array by adding information in the last 3 fields: [numerochamado]
, [novostatus]
and [observacoes]
, this information will be provided through the Batch Change field according to the system image:
This is the Array
sent by the batch change field:
Array
(
[loteconcessao] => Array
(
['numerochamado'] => 12345
['novostatus'] => Concluido
['observacoes'] => Teste
)
)