Re: About printing functions
| From: | Thodoris | Date: | Wed, 21 Jan 2009 19:05:44 +0000 |
| Subject: | Re: About printing functions | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286933@lists.php.net to get a copy of this message | ||
you can use Output Buffering : <?php ob_start();That's a good though thanks. Although I was aware of output buffering I used to ignore that ob_end_clean actually exists... -- ThodorisbadFunctionThatSpitsInsteadOfReturning();$sReturned = ob_get_contents(); ob_end_clean(); ?>