<html>
<! Count1.php                                                 >
<! Chapter 6, Oracle Database XE PHP Web Programming          >
<! by Michael McLaughlin                                      >
<!                                                            >
<! This script declares an array by assigning all elements    >
<! defining it, and counts first dimension elements.          >
<head>
<title>
  Chapter 6 : Count1.php
</title>
</head>
<body>
<?php
  // Declare variable.
  $salutation = array("Dr.","Mr.","Mrs.",array("Ms.","Miss."));

  // Print the return of the count() function.
  print "count(\$salutation) returns [".count($salutation,-1)."].<br>";
?>
</body>
</html>
