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?: 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

Reply via email to