How to convert an array all value without using foreach loop
<p>I want to convert an array value without using any loop and i have an array something like this</p><pre><br /><code>Array<br /> (<br />[0] => Array<br /> (<br /> [month] => August<br /> )<br /><br />[1] => Array<br /> (<br /> [month] => July<br /> )<br /><br />[2] => Array<br /> (<br /> [month] => October<br /> )<br />)<br /></code><br /></pre><p>I want to convert above array in to below format</p><pre><br /><code> Array<br /> (<br /> [month] => August <br /> )<br /> Array<br /> (<br /> [month] => July <br /> )<br /> Array<br /> (<br /> [month] => October<br /> )<br /></code><br /></pre><p>Without using any loop</p><br /><h2>Click here view more answers <a href="%20http://stackoverflow.com/questions/34524913/how-to-convert-an-array-all-value-without-using-foreach-loop">http://ift.tt/1ks1P6R</a></h2>
Nhận xét
Đăng nhận xét