note 102567 deleted from function.ob-get-clean by danbrown

From: Date: Tue, 22 Feb 2011 11:38:27 +0000
Subject: note 102567 deleted from function.ob-get-clean by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177212@lists.php.net to get a copy of this message
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 ...

« previous php.notes (#177212) next »