RTF to HTML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there seems to be some confusion about my post.

I have a table and in it there are records which are saved in RTF format. Now on my website i have a php script that does a select on the table and returns the records, each record is entered into a row. I need to convert each record which is in RTF to normal text. 

This what a record will look likein RTF format:

{¬rtf1¬ansi¬ansicpg1252¬deff0¬deflang1033{¬fonttbl{¬f0¬fnil¬fcharset0 MS Sans Serif;}}
¬viewkind4¬uc1¬pard¬f0¬fs17 hello
¬par }


All i want is to display (in this case): 
hello (with relevant italics, bold and underline.)

So basically what i need is to convert RTf to normal text, I apologize if there was any confusion from my behalf.

thanx in advance and thenx to those who have already answered.

Angelo

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux