tags:

views:

132

answers:

1

Hi,

I am a inserting a content in FCKEDITOR.

EXAMPLE Content : TEST ~!@#$%^&*()_+| TEST

But i get the output like this: TEST ~!@')

what should i do to get the exact output.

i am using ajax to do this.

thanks

Fero

A: 

htmlspecialchars_decode is used to convert html encoded characters back to regular characters:

& -> &
  -> 'space'
" -> "

You have no html encoded characters in the string you posted.

If you print the exact SQL statement you send to the DB, what do you see?

Is the field in the database long enough? Do strings always get cut of at the same length?

Jimmy Shelter
I didn't even get the full paragraph in my $_REQUEST itself.
Fero
I get only these contents instead of full content. 'Our 5 oz regular neck baby > bottles are made from PES plastic, > which gives them a natural golden > color. They are free of phthalates and > free of bisphenol A –'.
Fero
Are these fields posted or passed in the query string? (To check, see the $_POST en $_GET variables).
Jimmy Shelter