Got an easy (stupid) question about the text the editor send me in a variable -
It works fine on one page where I just type in the text using the editor and then press submit. But on another page I want to have a preview first.
The preview get's displayed correctly, but then I don't have a text field anymore so I have to send the text using hidden html form fields. On the next page I store my text in my database.
Then, when I want to display the text again, all html tags have gone.
I am using the php version of the editor and I use the function urlencode to be able to put the text into the hidden fields then then I used urldecode on the next page.
Before I store the text in the database I use the function stripslashes.
What's wrong???
when I store the
It works fine on one page where I just type in the text using the editor and then press submit. But on another page I want to have a preview first.
The preview get's displayed correctly, but then I don't have a text field anymore so I have to send the text using hidden html form fields. On the next page I store my text in my database.
Then, when I want to display the text again, all html tags have gone.
I am using the php version of the editor and I use the function urlencode to be able to put the text into the hidden fields then then I used urldecode on the next page.
Before I store the text in the database I use the function stripslashes.
What's wrong???
when I store the