3
Colleagues, how would you get a Word proposal to be registered within Mysql and edited? I tried using the editors wysiwyg
to put and paste, but Word HTML, after saved, Mysql does not recognize.
Solved. I had put the code as follows:
addslashes(htmlentities($proposta));
I just left:
addslashes()
since the editor wysiwyg
already creates HTML. I am using tinymce.
Explain "Mysql does not recognize". Exactly what happens?
– Lucas
I have a word file and a wysiwyg editor. When I take the content of the word file and put it inside the editor and click on save, it gives registration error. I already put addslashes(htmlentities($proposal)); but it doesn’t work. I gave a print on the screen and when I play directly in the database, also occurs the error. He says he has a syntax error... but I put the code correctly: Insert into table values(null,'$proposal'); what intrigues me is that if I put a normal text, it records...
– user24136
I did... I removed the htmlentities() and it worked... thank you!
– user24136
@Mark.It would be nice if you answered your own question (you can), including a solution to the doubt, but not just "withdrew the htmlentities()". Try to expose in a way that can help other people with the same problem.
– gustavox
Okay, Gustavox. You’re right. I’ll do it.
– user24136
@Jose.Marcos The correct way to do this is to answer your own question, using the answer box at the bottom of the page. Here we do not put the answer in the place intended the question. The intention was good, but does right there, to earn +1. :-)
– gustavox
So, hey, ask still this as open....
– SneepS NinjA
Ready my dear Sneeps. Solved!
– user24136