Depends on the use of the function. (Output functions should produce output shouldn't they?!) Best option probably is to specifiy an argument that allows to choose wether to output or to return. If you return text you should return by reference to prevent unnecessary memory consumption.
Regards Stefan Langer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php