http://php.flashwebhost.com/sherly/Vegetables2.php
Code:<?php // create array $vegetables = array('tomato', 'potato', 'cucumber', 'carrot', 'spinach', 'cabbage', 'chilli'); $numberOfVegetables= count($vegetables); echo '<p>We have ' . $numberOfVegetables . ' fresh vegetables in our store.</p>';




Reply With Quote

Bookmarks