http://php.flashwebhost.com/sherly/vegetables.php

Code:
<?php

$vegetables = array('tomato', 'potato', 'cucumber', 'carrot', 'spinach', 'cabbage', 'chilli');


echo '<pre>';
print_r($vegetables );
echo '</pre>';

echo '<p>I am going to add 2 more vegetables  to $vegetables  array.</p>';

$vegetables [] = 'beetroot';
$vegetables [] = 'beans';

echo '<pre>';
print_r($vegetables );
echo '</pre>';