No of visitors who read this post: 281
Category: MySQL Server
Type: Question
Author: Alfonso ty
No votes yet

anyone knows here about HTML and mysql, I have question, is it possible that file location is stored in database and you will retrieve it HTML?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

# Comment Id: 57401

Hello,

This is simple and easy thing. When we need to store the images and some other kind of things like that we can store those in database also.

But when we are going to retrieve those in to html it will take long time to load the data.

So it is not good idea to store images in database.

Instead of that what we are doing is we put all the images in to one folder and we store the path of the particular images.

The path is just a set of text. So we can retrieve those as much as fast.

And then using that part html can load the image.

So it is very easy and possible thing to do.