array_in_php
array_in_php
An array is an special variable which can hold more than one value at a time.
1.Indexed arrays : PHP indexed array is an array which is represented by an index number by default. example : $size=array(“ big ”,” medium ”,” short”);
2.Associative arrays : Associative arrays are used to store key value pairs.
<?php
$salary=array("Sonoo"=>"550000","Vimal"=>"250000","Ratan"=>"200000");
?>
3. Multidimensional array: multidimensional array is also known as array of arrays, it allows you to store tabular data in an array.
<?php
echo "<br/>"; }
?>