Yeah, I originally thought that echo would end the function immediately like return does. I use return all the time in AS3, but I had never encountered echo before.
I'm using this with Thematic in WordPress, I'm using this function to add text to the page with filter hooks - just wondering, does anybody know the best way of getting the text to format to a specific section on the page? Like I use the following:
add_filter('thematic_abovecomments',addText("Add comments here.","default-header"));
But the text appears at the top of the page instead of formatting with the comments section. I guess I'm not using the filter hooks correctly, I can't figure it out...