... .*/ { $html .= " <$atag>"; add_html($html, $sometext, $plain); $html .= " \n"; } function add_tag ( & $html, $tagtext, & $plain = NULL) { $html .= "<$tagtext>\n"; $plain .="\n"; // if plain, gets a newline } function add_plain ( & $plain, $moretext) { // use if you ONLY want to accumulate lines of plain text $plain .= "$moretext\n"; } // print date("m/d/y D, d M Y -- H:i:s\n"); ?>