Jump to content

Rich Text


davidz

Recommended Posts

I know this is not directly part of PHP, but I know there are lots of people here smarter that I.  So here is what I need to do.  I have a database with a field that is raw RTF like:

{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}}
{\*\generator Riched20 5.50.99.2010;}\viewkind4\uc1\pard\f0\fs20\lang1033 All of Lot Thirty-Nine (39), 
WHINESTONE VILLAGE SUBDIVISION (AMENDED), according to the Official Plat thereof, 
on file in the Office of the Recorder of  County, State of .
\par 
\par }

I need to grab this with php, and put it into a text box on the web (this box will probably be a javascript Rich Text control).  Then I need to edit the text (with rich text options).  And then save it back to the database as raw RTF just like it was when I got it from the database.  Any suggestions would be highly appreciated.  I am also trying to avoid multiple conversions, like RTF to HTML/XML then back to RTF again, or something like that.

 

Thanks!!

--David

Link to comment
https://forums.phpfreaks.com/topic/58255-rich-text/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.