Hi,
I upload a picture with fck picture uploader into a text area.Then I want to insert the text into database.The text has inserted normally but I'm in trouble while inserting the image code.There is a problem like this:
When I look at database for the record that I want to make; I saw a code like this:
And so the image can't be seen in my article.What can I do? How can I correct this? I think I need to remove the characters ' " '.But I don't know how to do?
I upload a picture with fck picture uploader into a text area.Then I want to insert the text into database.The text has inserted normally but I'm in trouble while inserting the image code.There is a problem like this:
When I look at database for the record that I want to make; I saw a code like this:
<img height=\"240\" width=\"320\" alt=\"\" src=\"/dosyalar/image/20465_2.jpg\" />
And so the image can't be seen in my article.What can I do? How can I correct this? I think I need to remove the characters ' " '.But I don't know how to do?
Re: Image Insert Into Database with PHP
you escape quotes twice. Most likely magic_quotes is on: http://nl.php.net/magic_quotes
Re: Image Insert Into Database with PHP