RE: [PHP] This?: ob_start

2002-02-21 Thread Martin Towell
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:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 1:25 PM To: [EMAIL PROTECTED] Subject: [PHP] This?:

[PHP] This?: ob_start

2002-02-21 Thread jtjohnston
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 Lis