note 102567 deleted from function.ob-get-clean by danbrown
[email protected] Tue, 22 Feb 2011 03:38:27 -0800
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter: steven at bielik dot com ---- Also, don't forget that you will need to ob_start() again for any successive calls: ob_start(); echo "1"; $content = ob_end_clean(); ob_start(); // This is NECESSARY for the next ob_end_clean() to work as intended. echo "2"; $content .= ob_end_clean(); echo $content; Output: 12 Without the second ob_start(), the output is 21 ...