I have the following array
which returns me the following values:
(
[cliente] => Array
(
[0] => Array
(
[Code] => 1
[Name] => a
)
[1] => Array
(
[Code] => 2
[Name] => b
)
)
)
Is there a way I can get each Code to transform to a $stnCode
variable and to each Name transform to $stnName
?
Because I want to insert into the database, where the Cliente
table receives Code and Name .