Outputting an Array As a String
<? $languages = array('German', 'French', 'Spanish'); printf("<p>Languages: %s.</p>\n", implode(', ', $languages)); ?>