I have an array like this :
array(2) {
["xxx"]=>
array(2) {
["yyy"]=>
array(1) {
["text"]=> string(13) "test offline2"
}
["yyy2"]=>
array(1) {
["text"]=> string(12) "test offline"
}
}
["usual_name"]=> string(12) "test offline"
}
And I would like to have a new array like this :
array(3) {
["xxx.yyy"]=> string(12) "test offline"
["xxx.yyy2"]=> string(12) "test offline"
["usual_name"]=> string(12) "test offline"
}
If someone can help me pls !