<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-Transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>Teas of the World!</title>
</head>
<body>
<?php // Script 10.6 - Teas of the World.php
// This function displays a four cell table.
function tea($types) {
$types = array ("Chinese Green", "Japanese Red", "Korean Black", "British White");
for ($cell = 0; $cell < 4; $cell++) { // Displays the cell count.
echo "<td>".$types[$cell]."</td>";
}
}
?>
</body>
</html>
canadian_angel 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.