Arrays are used to store many values in single variables. Eg. Name of fruits In Php, array can be declared as the following Array($val1, $val2); Please check the following screenshot CODE <?php $fruitNames = array("Grapes","Banana","Papaya","Mango"); echo $fruitNames[0]; ?> OUTPUT IS ...
Home/fetch array values