Question about functionality of script and how to change it (Technics)

by BWWD2008, Friday, August 29, 2008, 05:47 (5690 days ago)

Hi i need help modifying the script

The script takes the content from the database and replaces all the newlines with paragraph tags before displaying it on the page so that content in the database

Some text would be here

Other text would be here

(Will become)

<p>Some text would be here</p>
<p>Other text would be here</p>

Each line surrounded by paragraph tags

What i want is to know how to change it so it becomes

Some text would be here
<br />
<br />
Other text would be here

With break tags between each line instead of paragraph tags

Can anyone advise where in the code of what file i would need to look to make this change

locked
2776 views

Complete thread:

 RSS Feed of thread