Solved

CKEditor not POSTing correctly

Posted on 2013-06-27
3
288 Views
Last Modified: 2013-06-27
Hi Experts:
I have a form where I am inputting several fields and using the CKEditor for formatting.  The input fields operate correctly (allowing me to input formatting to the text field), however, when I POST the form, I lose the formatting (it does not show up when I echo the POST value).  Further, when I store the information in my MYSQL database, the words are there, but not the formatting.  I've attached the form page as well as the page POSTed to.  Any help would be greatly appreaciated!CreateCustomProposal-NEO-2012.phpCreateCustomProposal-NEO-2012-1.php
0
Comment
Question by:sully1958
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39282473
The problem is you are using php to strip out html with this bit of code

$Item1=strip_tags(trim($_POST['Item1']));
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 39282477
TL;DR.  But maybe all of the strip_tags() statements has something to do with it.  Can you please help us by creating the SSCCE to illustrate the problem in a way that does not require analysis of hundreds of lines of code?
0
 

Author Closing Comment

by:sully1958
ID: 39282515
Thank you so much!!!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question