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

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -