How to update a new image into database by replacing the existing one
sivaconfident
0
Newbie Poster
Recommended Answers
Jump to PostDo you mean how do to update an image file path in a database?
if you are using mysql it would be:UPDATE [table name] SET [field name]='newimage.jpg' where [field name]='oldimage.jpg';
Are you trying to do this within a php script?
I hope this helps.
All 3 Replies
Reply to this topic
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.