Thodoris wrote:
Hi gang,
Lets say that you have a function that prints something to the
output simply like this:
function print_str() {
print "blah blah blah";
}
I was wondering if there is a way to use this output and store it in a
var or something without changing the function itself?
And store the "blah blah blah" somewhere for later use?
I can think of many reasons that someone could use this.
Perhaps you are looking for what the output buffering functions do?
http://us3.php.net/manual/en/book.outcontrol.php
Cheers,
Mattias
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php