Monday, 12 August 2013

Move 2 key values to a new array using php

Move 2 key values to a new array using php

here is the dynamic output i have got
Array
(
[0] => 6
[1] => Male
[2] => 1
[3] => Female
[4] => 3
[5] => Others
)
For every 2 values it should move to new array like this
o/p should like
Array
(
[0]=>6
[1]=>male
)
Array
(
[0]=>1
[1]=>Female
)
and so on !!!!!!!!!!, nut it should be dynamic

No comments:

Post a Comment