Web Programming Archive
PHP multidimensional array is that array which contains one or more arrays as its element. A simple example of a PHP multidimensional array is given below… $a = array(‘name’=>”Sayeed”, ‘language’=>array(‘PHP’,’HTML’,’CSS’), ‘status’=true); The array variable $a contains another
PHP associative array is that array whose index is represented by string. It stores items in association with key values. The structure of an associative array is given below… $a = array(‘id’=>1,’name’=>”Sayeed”,’age’=>24); Here, the array index is
PHP array is a special variable which can store multiple items in only one variable. Multiple items from an array are retrieved with array indexes. The array() built-in function is used to create an array in PHP
More than 1000 built-in functions prove the power of PHP. Besides built-in function PHP allows to create user defined function that was explained in PHP function basics. So, this article is designed to explain some advance topics
The real power of a programming language comes from its functions. More than 1000 built-in functions defined in PHP prove the power of PHP language. So, this article is designed to explain PHP function from very beginning.