0
Guys, I have the following php array:
$postFields = array(
'email' => '[email protected]',
'token' => '123456',
/*INSERIR AQUI*/
);
Where is written "insert here", I need to insert additional information dynamically, that would be these:
'item1' => 'Nome1'
'valor1' => '01',
'item2' => 'Nome2'
'valor2' => '02',
.....
'itemN' => 'NomeN',
'valorN' => '999'
.How do I add these values inside the array above?
Smallness for
array_merge
– Woss
Possible duplicate of Like adding a new value to an array?
– Woss