View Single Post
Old 10-11-2004, 01:35 PM  
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
You dumping to an HTML window ?

Try this:

$fileToGrab = "juicy.txt";

print ( preg_replace("/\n/","<br>",implode("",file($fileToGrab))) );



might not be the most elegant, but it should work.
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote