So I'm making a website in PHP, and I've got the idea, that I would like to store both the HTML content of the pages and the content images in MYSQL. But as I was thinking about the implementation, I could not figure out a way to load the images to the HTML that I receive from the database. (The process would be: page request->retrieve HTML from db->retrieve the images in html from db and insert them)
I haven't find any solution by googling yet, so I'm wondering if there is a routine solution for this problem? Any ideas are welcomed! Thanks in advance!