RE: [PHP] This?: ob_start

From: Date: Fri, 22 Feb 2002 02:28:32 +0000
Subject: RE: [PHP] This?: ob_start
Groups: php.general 
Request: Send a blank email to php-general+get-85807@lists.php.net to get a copy of this message
if it "does" then there's one small problem with it..... you have the echo before the ob_end_clean(), it should be after... -----Original Message----- From: jtjohnston [mailto:taylorjo@collegesherbrooke.qc.ca] Sent: Friday, February 22, 2002 1:25 PM To: php-general@lists.php.net Subject: [PHP] This?: ob_start Does this do it? ob_start(); while ($personne = mysql_fetch_object($news)) { $output = ""; $output .= "R#:".$personne->id."¶\n"; if($personne->TNum != ""){$output .= "T#:".$personne->TNum."¶\n";} $output = ob_get_contents($output); echo $output; ob_end_clean(); } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#85807) next »