note 22227 deleted from function.ob-start by sniper
| From: | sniper@php.net | Date: | Tue, 25 Feb 2003 08:19:12 +0000 |
| Subject: | note 22227 deleted from function.ob-start by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-44491@lists.php.net to get a copy of this message | ||
The object/method callback mentioned above seems not to work properly with more complex classes.
Better use something like this:
<?php
// same class def as above...
$blabla = new foo;
ob_start();
?>
fancy html code
<?
$blabla->bar( ob_get_content() );
ob_end_clean;
?>