Name That Function!
I don't remember the name of this function (or functions).
All I know is what it does: You call this function and whatever is echo()ed is assigned to a variable. Then you call the same function or possibly another function again once you're done collecting data.
Sound familiar to anyone? I'm asking because I want to be able to cache the output of some eval()ed code.
That the one?
$foo = ob_get_contents();
echo $foo; //outputs hello
Edit: Gah. I had it typed at 6:29, hit submit... and it didn't submit. Just checked back on the tab and had to resubmit. :xeye:
Thats it! Thanks a million, everyone. :D