How do I separate my arrays by Dice?

Asked

Viewed 70 times

3

Text boxes corresponding to the number that the user entered are generated, each text box is accompanied by several checkboxes to choose the type of text.

But it comes out like this :

Array ( [0] => 0 ) object(ElementosDTO)#7 (2) { 

    ["texto":"ElementosDTO":private]=> array(2) { 
       [1]=> string(5) "fdsfs" 
       [2]=> string(4) "sfsd" 
    } 
    ["idTipoElemento":"ElementosDTO":private]=> array(2) { 
        [1]=> string(1) "3" 
        [2]=> string(1) "3" 
     } 
} 

how do I join indexes? For example, each text with its element id type ?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.