Saving and displaying a blog post | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Saving and displaying a blog post

I am creating a personal blog. To add new posts, i want to add a rich text editor to my blog site. If i create a post using the rich text editor that will include images, html etc. How can i save that post in my database and then display it as it is. I know how to save and retrieve data from database but when i create any post that includes multiple images in between the text, how will i save and then correctly display the post? I hope i am able to explain myself correctly.

4th Feb 2019, 2:12 AM
Yousaf
Yousaf - avatar
1 Answer
+ 2
Try my code https://code.sololearn.com/WB9R93pYwooa/?ref=app once you have everything as you want it copy and paste it to where you want it...
4th Feb 2019, 2:27 AM
BroFar
BroFar - avatar