<?php 	
$intGreenBottles=10;
$arrGreenBottles = array( array("Grolsch","No"),array("Heineken","No"), 
						array("Carslberg","No"), 
						array("Tuborg","No"), 
						array("Perrier","No"), 
						array("Peroni","No"), 
						array("Sprite","Of course not!"), 
						array("Fairy","No"), 
						array("Fructis","No"),
						array("Tap water","Yes!"));
						function getBottles($arrBot, $intBott){
							for($i=0; $i < $intBott; $i++){
								$strBottle = $arrBot[$i][0] . " - " . $arrBot[$i][1];
								if($arrBot[$i][1] == "Yes!") {echo "<strong>" . $strBottle . "</strong><br />";}
								else{
									echo($strBottle . "<br />");
									}
								}
							}
			?>
			<!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=utf-8" />
<title>Formatting to debug</title></head>
<body>
<h3>Green Bottles</h3>
<?php 	echo "<h3>Here are ten green bottles... but are they really green?</h3><p>";getBottles($arrGreenBottles, $intGreenBottles);echo "</p>";?></body>
</html>
