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<br />
<br />
Chart Date: blah<br />
<br />
No. Artist - 'Track (Remix)' (Label)<br />
<br />
1. blah - 'blah (blah mix)' (blah)<br />
--- END TEXT---

Any help much appreciated, Ian.
---
Randum Ian
DJ / Reviewer / Webmaster, DancePortal (UK) Limited
[EMAIL PROTECTED]
http://www.danceportal.co.uk
DancePortal.co.uk - Global dance music media


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

Reply via email to