Solved

CKEditor not POSTing correctly

Posted on 2013-06-27
3
283 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 52

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

756 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