Hi
I've a problem with storing data using the FCKeditor. I use php to handle the input, and runs the data trough the function stripslashes() before I store it in a mysql table. Everything goes smootly when I try to input just regular plain text. But when I try to add some html to the input, like add a link, the data won't be stored. So I guess the html messes up the sql query.
But what should I do then? The data is stored correctly if I use the htmlentitites() function as well, but then the html is just stored as plain text, and then the links won't be displayed correctly.
Anyone could help me out with this one?
I've a problem with storing data using the FCKeditor. I use php to handle the input, and runs the data trough the function stripslashes() before I store it in a mysql table. Everything goes smootly when I try to input just regular plain text. But when I try to add some html to the input, like add a link, the data won't be stored. So I guess the html messes up the sql query.
But what should I do then? The data is stored correctly if I use the htmlentitites() function as well, but then the html is just stored as plain text, and then the links won't be displayed correctly.
Anyone could help me out with this one?