How to display out the contents from mysql and path it to an image properly?
Posted
by
Panda
on Stack Overflow
See other posts from Stack Overflow
or by Panda
Published on 2012-10-24T22:58:00Z
Indexed on
2012/10/24
23:00 UTC
Read the original article
Hit count: 281
I was trying very hard to think of a solution for my problem but have drain all my brain cells into this...What happen is:
I have a CK editor where it allows user to input both text and images. A good example would be http://ckeditor.com/demo. Something like the red riding good example in the demo. I would like to have text surrounding the image like the example. With CK editor, user can now do that. However, now they will submit the changes and i was wondering how should I save the data?
What i have found:
After reading my articles and solutions on the web, all the experts would advise not to put image into the mysql database together with the text.
I would like to ask if this is the case what should I do to extract the text from the ck editor and store it into mysql database and separately store the images into my web server?
I know how to retrieve text from mysql database. But how do you put the retrieved text abd images together such as it appears to be how the user have input in CK editor??
Guys I am sorry if my question is confusing you or is making you angry because i admit I am really a newbie in this and I will learn all that I can...Thanks for all your advice and teachings.
© Stack Overflow or respective owner