Php makes an easy article submission

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.