Result: ob_start

From: Date: Fri, 22 Feb 2002 02:45:48 +0000
Subject: Result: ob_start
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-85808@lists.php.net to get a copy of this message
I've narrowed down working code to this, but does it really do the job? Does this really go faster? header("Content-type: text/plain"); ... while ($personne = mysql_fetch_object($news)) { ob_start(); $output = ""; $output .= "R#:".$personne->id."¶\n"; if($personne->TNum != ""){$output .= "T#:".$personne->TNum."¶\n";} print_r ($output); $output = ob_get_contents(); ob_end_clean(); echo $output; }

« previous php.general (#85808) next »