0

I am a beginner in php and working on admin side of a small website. I have attached CEditor to the admin page so that the admin may edit the page text. Here, I am a bit confused about one thing and that is about how can I connect the CKEditor with mySQL database so that the text,HTML tags or images of CKEditor should be populated to the database.

1
  • This is basic html / php / mysql interaction, google for a tutorial on how to insert into mysql database with php / form. Commented May 26, 2015 at 10:42

1 Answer 1

1

CKEditor does not influence your server-side stuff in any way, including MySQL. It's basically a JavaScript overlay of a textarea HTML field. Therefore, the way to connect CKEditor to MySQL is the same way as to connect a simple HTML form to MySQL. My suggestion is: experiment with putting data from regular HTML forms into MySQL, and only after you've mastered this, apply CKEditor to whatever form fields you need.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.