Php makes a simple article and submits it. I create a webpage so that people can submit the article and review it. I will use form, but the editor is required, I don't understand how to submit and handle this. I just got in touch with it. could you help me? thank you. Just like the process of posting. ------ Solution -------------------- embed the editor? & Nbsp; search for fckeditrckeditor & nbsp; ------ solution -- submit a simple article in php
I made a web page so that people could submit articles and review them. I would like to use form, but I don't understand how to submit and handle it if I need an editor, thank you for your help. Just like the process of posting.
------ Solution --------------------
Embedded editor? Search fckeditr/ckeditor
------ Solution --------------------
Get the $ _ POST parameter in the same way.
------ Solution --------------------
The general editor has examples to tell you. After you select the editor, just look at the example.
------ Solution --------------------
Try fck. Is to get the value of the html page text box, submit through form.
------ Solution --------------------
In fact, what you think is too complicated. there is no difference between submitting an article and submitting common form data.
You only need to load an editor. you do not need to consider the editing functions of this editor.
You can find one, such as ckeditor. There will be a tutorial asking you how to add this editor to your webpage.
Finally, you should pay attention to the js paths to be loaded during integration.
If you do not know, right? you can use Firefox + firebug debugging to check whether your code is correct.
You can see the editor edit box.
During integration, the tutorial will show you how to bind your form fields.
------ Solution --------------------
Kingeditor and fckeditor are many. the submission method is POST, and special characters can be processed in the background.
------ Solution --------------------
To
Http://ckeditor.com/
Download ckeditor, which contains demos
------ Solution --------------------
The same is true for the next web editor with a PHP demo.
------ Solution --------------------
I have used xheditor. based on jquery, the configuration is simple.