PHP Twelve Days

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

From Humanitarian-FOSS Project Development Site

PHP Twelve Days Programming Assignment

Write a PHP progam that uses an associative array, a user-defined function, and a foreach loop to "sing" (print) the verses of The Twelve Days of Christmas.

Post your solutions here, by editing this page, creating an internal link to your solution, and then pasting your solution into the page created for the link. To preserve formatting of your program, embed your source code between <pre>...</pre> tags.

The link should be named with the names of the members of the programming team. See the Morelli and Smith link below as an example. NOTE: Do not upload your solution until 11:00 AM on Monday Feb. 5 (2 hours before class). We will look at the solutions in class.


Personal tools