Rich Text editing and PHP Help?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jo1234la
Forum Newbie
Posts: 11
Joined: Wed Feb 03, 2010 11:53 am

Rich Text editing and PHP Help?

Post by jo1234la »

I am trying to take a string of text "Comments" push to a MySQL DB and output to another page for viewing. There is one catch I need "rich text" It can be a pre-built Rich Text Editor but it needs to work and I need to know how to transfer that info to the DB. I've got 80% of this down just need to know how to deal with Rich Text or what Editor to use?

By all means if there is another way to do it I would like to hear it. Please help I am stumped and this is the best PHP forum I know.

Joseph
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: Rich Text editing and PHP Help?

Post by AbraCadaver »

There are a lot of them out there. Here is a very popular one with a page that tells you exactly how to do it. Then just insert the post var into your database.

http://docs.cksource.com/CKEditor_3.x/D ... ntegration
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
jo1234la
Forum Newbie
Posts: 11
Joined: Wed Feb 03, 2010 11:53 am

Re: Rich Text editing and PHP Help?

Post by jo1234la »

Thanks this awesome. It's different from the others I have seen in that it actually uses a text area to hold the data. Other options I have seen do not and they use a lot of Javascript. This is cool I will give it a try tonight Thanks
Post Reply