Re: [PHP4BETA] Output to string
| From: | Zeev Suraski | Date: | Thu, 06 Jan 2000 05:44:47 +0000 |
| Subject: | Re: [PHP4BETA] Output to string | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8944@lists.php.net to get a copy of this message | ||
Yes. You can turn on output buffering (ob_start()), call the function, obtain the contents of the buffer using ob_get_contents(), and then turn off output buffering w/o sending the buffer using ob_end_clean().
Zeev
At 23:40 05/01/2000 , Vadim Tkachenko wrote:
Hi. Please help me. I have function <? function one(){ ?> <table><tr><td> .... </td></tr></table> <?} ?> Can I put output from one() to string, and using this string later in my programm? Vadim Tkachenko.-- Zeev Suraski <zeev@zend.com> http://www.zend.com/