Php remove array of array? -


hi have displaying array below result.

array (     [0] => array         (             [name] => test1         )      [1] => array         (             [name] => test2         ) 

)

i want delete element ( => array )

array (     [0] => test1     [1] => test2     [2] => test3     [3] => test4 ) 

the problem have pushed array inside array , [0] => array not element, showing @ 0th index of array, there associative array.

use array_push function if you're using php or add code snippet, me or can give exact code you're looking for


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -