How to insert images into mysql through php communication and display them

Asked 2 years ago, Updated 2 years ago, 38 views

I'm working on a project right now, and I really need a function to put an image in the db and reload it. How can I insert an image into mysql through php communication and show the images that have been inserted?

android php mysql

2022-09-22 20:57

1 Answers

Why don't you use a service like Cloudinary? A service that stores images.

First of all, upload the image from php to api to cloudiary. After you upload it, you can get url, so I think it'll be much easier if you just save url in db.


2022-09-22 20:57

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.