Gossamer Forum
Home : Products : Gossamer Links : PHP Front End :

line breaks, bold and italics in php?

Quote Reply
line breaks, bold and italics in php?
Hello,

Many folks helped me out a while back in creating a global for the cgi front end, where I can add [ b] [ i] and the would be converted to their html equivalent. Also, the Detailed text would understand a line break and add a < br> after it.

Is there some equivalent of this sort of thing in the php front end? Would it be a code snippet placed somewhere? How would one do this?

Also, since I am using LSQL as a content tool, I made it so I can turn off this feature for any record. Used a handy if statement and then if I need to use html, I can, otherwise, my editors are free to use this other code. Works out really well.

How would I do something like this with the php front end?

Thanks,
Evoir

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=157893

Last edited by:

Evoir: Dec 6, 2002, 12:09 AM
Subject Author Views Date
Thread line breaks, bold and italics in php? Evoir 3822 Dec 6, 2002, 12:09 AM
Post Re: [Evoir] line breaks, bold and italics in php?
Alex 3724 Dec 6, 2002, 12:08 PM