--- Matt Babineau <[EMAIL PROTECTED]> wrote:
> Is there any way to detect linefeeds and replace them with <BR> for
> output in html?
>  

$data=explode("\n",$data);
foreach ($data as $line) {
print($data."<br>\n");
}
$data=implode("\n",$data);


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to