Student O and Student P

[article] [edit page] [discussion] [history]

From Humanitarian-FOSS Project Development Site

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  <meta http-equiv="Content-Type"
      content="text/html; charset=iso-8859-1">
  <title>Days of christmas!</title>
<body bgcolor="#ffffff"> 
    "first"=> "A partridge in a pear tree.",
    "second"=> "Two turtle doves and ",
    "third"=>"Three French hens, ",
    "fourth"=>"Four calling birds, ",
    "fifth"=>"Five golden rings, ",
    "sixth"=>"Six geese a-laying, ",
    "seventh"=>"Seven swans a-swimming,",
    "eighth"=>"Eight maids a-milking, ",
    "ninth"=>"Nine ladies dancing, ",
    "tenth"=>"Ten lords a-leaping, ", 
    "eleventh"=>"Eleven pipers piping,",
    "twelth"=>"Twelve drummers drumming,");
    foreach($days as $dayNow)
        $value = $dayNow;
        $key = array_search($value, $days);
    function Sing($dayItIs,$num,$key)
        global $tempday;
        print "On the $key day of Christmas, my true love sent to me:<br>"; 
        foreach ($tempday as $tempNow)
            print $tempNow;
			print "<br>";
	print "<br>";

Personal tools