WYSIWYG Content Editing
Posted: Mon Nov 09, 2009 8:22 pm
Hello,
I have 2 pages, a main "blog" page, and a "content management" page. The content management page is basically a form where I can enter the blog post, and my php script writes the data to a MySQL database. The main page then has a php script to read this information from the database and display it on the website. Works great to post text to my website, but that's about it.
I want to have the ability to edit the formatting of my text, and insert images just like I can in this forum post. So I got an opensource WYSIWYG editor, and after applying it to the textarea of the form on my content editing page, i can do just that. But nothing happens with it.
So my problem is, I (think I) need to be able to take the html that is generated by the WYSIWYG text editor, and save it to the MySQL database. Then I need to be able to retrieve it and display my blog post as it was formatted originally.
How can I do this? I've searched for hours trying to find a simple opensource code and all I can find is entire content management systems! All I want is this one page to be editible using HTML!
Thank-you,
-Jonathan
I have 2 pages, a main "blog" page, and a "content management" page. The content management page is basically a form where I can enter the blog post, and my php script writes the data to a MySQL database. The main page then has a php script to read this information from the database and display it on the website. Works great to post text to my website, but that's about it.
I want to have the ability to edit the formatting of my text, and insert images just like I can in this forum post. So I got an opensource WYSIWYG editor, and after applying it to the textarea of the form on my content editing page, i can do just that. But nothing happens with it.
So my problem is, I (think I) need to be able to take the html that is generated by the WYSIWYG text editor, and save it to the MySQL database. Then I need to be able to retrieve it and display my blog post as it was formatted originally.
How can I do this? I've searched for hours trying to find a simple opensource code and all I can find is entire content management systems! All I want is this one page to be editible using HTML!
Thank-you,
-Jonathan