hi
i have a problem, i am building a simple cms like this, on a page i have ckeditor, when the user press submit the content is inserted in a database then it is echoed on another page.
my problem is if i enter more than one space the content following the multiple spaces wont show in the database row.
sssss fffffffffffffffffffffff -> here the bold part wont show in de DB row, i only see : <p>sssss
anyone knows the reason of this, i have tried with several RT editor and they all show this problem.
i have a problem, i am building a simple cms like this, on a page i have ckeditor, when the user press submit the content is inserted in a database then it is echoed on another page.
my problem is if i enter more than one space the content following the multiple spaces wont show in the database row.
sssss fffffffffffffffffffffff -> here the bold part wont show in de DB row, i only see : <p>sssss
anyone knows the reason of this, i have tried with several RT editor and they all show this problem.
Re: problem inserting &nbsp; in database
Well, I would start off with writing the POSTed content into a file and check with a decent editor if the content is really ok. Eventually with a hex editor. If this is ok, I would check the content's char-to-byte and encoding and see what encoding the DB has.
Mike