I ask, CI framework embedded Baidu Editor, how to get the editor content

Source: Internet
Author: User
Ask, CI framework embedded Baidu Editor, how to get editor content


The system has a page, users need to fill in the text information, I put Baidu editor embedded in, but do not know how to get the content to write, and then submit. Generate PHP files.

Now I do not know how this editor is submitted by the form, itself this does not take a form, checked the information did not get out.

Thank you


Two questions,
1. How to get the content that the editor fills in.
2. The editor fills in the content to generate the PHP file
------to solve the idea----------------------
$_post[' Myeditor ' is the HTML code in the editor.
------to solve the idea----------------------
References:
Quote: References:


Above can be obtained, but not source code

I want to get


Content of XX written



Tagged source code

What you get is content with HTML tags!
Only if you echo it, what you see on the browser is the formatted content. Because HTML is always interpreted by the browser
You can view the source code or output with a pre-formatted label
  • Related Article

    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.