Dec 06, 2013
If you want interchange the keys and values of an associative array. It’s very easy, just use PHP’s array_flip() function which perform a very specialized..
Read moreOct 08, 2013
This is a complete multi-sort example of associative array in PHP. We have first sorted an associative array by values in descending order then sorted..
Read moreAug 07, 2013
Sometimes you need to re-index a numerically indexed array after removing elements from it. Actually if you remove one or more elements from the middle..
Read moreJul 10, 2013
Sometimes working with arrays, we need to add few extra elements to the array or needs to remove element from array. PHP has some built-in..
Read moreJun 21, 2013
Magento has no built in function to get an array of all shipping or billing addresses. However, you can do this by creating such an..
Read moreJun 19, 2013
We could not convert .xsd file into php array to convert that we should first convert the .xsd file into xml file then finally parse..
Read more