I'd rather do it in the script as my php knowledge is less that my scripting, which is limited to begin with... The script is run as a cron job every 10 mins so I was thinking that it'd be easier to add the line break at the end of each line parsed as it happens..
Simon
-----Original Message----- From: D [mailto:dsc@clara.net] Sent: Friday, November 16, 2001 03:58 To: Simon Parkes; ALUG Subject: RE: [Alug] How do I...
Hi guys.. I'm trying to parse some info into a webpage from the logfiles. which I'm not having too many problems with. My problem is how do I add a <BR> at the end of each line or prevent the browser from wrapping the text..
in php you can use nl2br()
Regards Darren -- HTTP://WWW.PHP4HOSTING.COM ($) HTTP://WWW.PHP4HOSTING.CO.UK (£) Website Hosting from $4.80/£3pm -- .INFO/.COM/.NET $39.98/£24.99 PHP4, MySQL (Root Access), Full CGI-BIN, Shell Access, FTP, POP3, WAP All Major Credit/Debit Cards (Dollars, Pounds, Euros)