the manual is your friend.
http://www.php.net/manual/en/function.nl2br.php
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Randum Ian [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 10:20 AM
To: PHP
Subject: [PHP] Text
Hi there,
I have got various text files which I need to convert on the fly to HTML
with PHP.
How do I convert this:
--- TEXT ---
CHART RETURN
Chart Date: blah
No. Artist - 'Track (Remix)' (Label)
1. blah - 'blah (blah mix)' (blah)
--- END TEXT---
to this:
--- HTML ---
CHART RETURN
Chart D
2 matches
Mail list logo