Hi,

How do we save person's pictures in database?Do we just create column "pictutePath" and enter this value "../pictures/user1.jpg" for each person or is there any other way?

Thanks

Yes, the best way is to just save the image path. You can save the image into the database as a blob but, most say it's a bad idea. Have a read here on the pros and cons and a tut on how to do it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.