Hello..
so i have now created my personalized toolbar with ckeditor running correctly.. i write some text into the box, for example this following text:
1) Hello, i am Simon
and i hit Submit..
this loads my sample_postdata which i edited so that i will display the last added messages and at the same time add into my database into a text field called articolo the $postedValue so i receive the following output into the sample_postedata:
Field Name Value
editor1 <p> <u>Hello</u>, i am <strong>Simon</strong></p>
i also check into mysql database and inside my table under the articolo text field i have this:
<p> <u>Hello</u>, i am <strong>Simon</strong></p>
and when i try to post onto a new page with a query the field articolo i receive this message:
<p> <u>Hello</u>, i am <strong>Simon</strong></p>
how can i make it so that i can receive a formatted test like shown on 1)?
so i have now created my personalized toolbar with ckeditor running correctly.. i write some text into the box, for example this following text:
1) Hello, i am Simon
and i hit Submit..
this loads my sample_postdata which i edited so that i will display the last added messages and at the same time add into my database into a text field called articolo the $postedValue so i receive the following output into the sample_postedata:
Field Name Value
editor1 <p> <u>Hello</u>, i am <strong>Simon</strong></p>
i also check into mysql database and inside my table under the articolo text field i have this:
<p> <u>Hello</u>, i am <strong>Simon</strong></p>
and when i try to post onto a new page with a query the field articolo i receive this message:
<p> <u>Hello</u>, i am <strong>Simon</strong></p>
how can i make it so that i can receive a formatted test like shown on 1)?
Re: Help with outputs!
You must have your system ready before trying to use CKEditor. If you use a textarea you'll get the same problem, so follow the steps outlined here: http://alfonsoml.blogspot.com/2009/08/u ... sites.html
Re: Help with outputs!
Hello again..
thanks for the reply and sorry for my english but i'm italian..
if i add the code you wrote on your website:
<p>This is some <strong>sample text</strong>.
You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p>
<form method="post" name="test"><textarea name="area"></textarea></form>
<p>Final <> quote '</p>
into my <td></td> where i am trying to print the mysql saved $postedValue i have this result:
(attachment image)
which is exactly what i'm trying to obtain which means that i don't have server side issues..
my problem is trying to understand why when i save the $postedValue into mysql it changes values for example:
<p> nuova <strong>prova </strong>cazzo</p>
becomes
<p> nuova <strong>prova </strong>cazzo</p>
Attachments:
Re: Help with outputs!
Re: Help with outputs!
You should get non-html markup for markup syntax.
IE you should see:
<p>Hello World</p>
If you confirm this, then it is what you are doing in your script that is converting the html entities?
Re: Help with outputs!
I have the exact same problem. See code below.
When I echo the data ($postedValue), I get the proper output, but not in the database.