Saturday, April 1, 2017

Array In PHP


<?php

$snack = array('Banana', 'Ice-cream', 'Coconet', 'Mango', 'Orange');

$snack[1]='Alcohol';

echo $snack[1];

//print_r($snack);

?>

No comments:

Post a Comment