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