Arrays in php

Arrays are always a big and typical topic for php beginners.Some times they left their job because of arrays.I was also one of them .But after a long experience now i understand that arrays are too easy in php like eating food because php has allready provided readymade funda for arrays .You just have to use that logic and nothing else.

An array in PHP is a collection of values. Like A mapĀ  that associates values to keys. In an array each values associate to an Unique key and you can access valuse by using that key. As array values can be other arrays, trees and multidimensional arrays are also possible.

Read the rest of this entry »