Folks,
I am having trouble using this editor when submitting to a mySQL database. I am trying to submit a long text field and if double quotes are used in the text, then it is cut off and not completely stored in the database. The text gets cut off right after the escape character '/'.
Anyone have any idea why this is happening or how to fix it?
I am using version 1.5
I am having trouble using this editor when submitting to a mySQL database. I am trying to submit a long text field and if double quotes are used in the text, then it is cut off and not completely stored in the database. The text gets cut off right after the escape character '/'.
Anyone have any idea why this is happening or how to fix it?
I am using version 1.5
RE: problem with (") when submitting to database
It looks like there is a function in the 'fckeditor.js' file to replace " with it's HTML equivilent. If this worked it would solve the problem but it doesnt seem to. Still need help....
RE: problem with (") when submitting to database
RE: problem with (") when submitting to database
Anybody has a clue on what is going on?
RE: problem with (") when submitting to database
I used str_replace('\"','"',$str);
RE: problem with (") when submitting to datab
$text=preg_replace('!(\\\\")!', '"', $text);
so no escapes \" for " are inserted in the database
RE: problem with (") when submitting to database
RE: problem with (") when submitting to database
RE: problem with (") when submitting to datab
I have the same problem.
urls in texts looks like this after next edition (this is enouhg to open and save text)
href=""http://www.allegro.pl"">http://www.allegro.pl</a>
instead of
<a href="http://www.allegro.pl">http://www.allegro.pl</a>
and does not work
the same problem is with pictures scripts and so on in texts
the same problem on many sites with
Mambo 4.5.4 SP3 Sani [ MamboPL.com ]
MySQL 4.0.23a
PHP 5.2.0
Apache/1.3.37 (Unix) mod_vhost_mysql/0.10 PHP/5.2.0 mod_ssl/2.8.28 OpenSSL/0.9.8d
removing this option in fckeditor.js does not bring efects
Please help
Andrew
RE: problem with (") when submitting to datab
sory html tags are invisible here
& and quot with ; are inserted after each "
href=""http://www.allegro.pl"">http://www.allegro.pl</a> <br