Why am I having such a hard time with this code?
$doc = "doc.txt";
$text = nl2br ( readfile ("D:\\foob\\bar\\foo\\$doc" ) );
echo $text;
OR
$doc = "doc.txt
$text = readfile ( "D:\\foob\\bar\\foo\\$doc" );
$text = nl2br ( $text );
echo $text;
NEITHER of these give me any breaks... I'm at my wits end here. This seems
like a no brainer... I get the text file without any problem, but there are
no breaks in what is echoed. Anyone?
PHP 4.0.7-dev from php4win
---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Aliquando et insanire iucundum est
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]