1

How to upload an image from React Native into MySQL using PHP? I have used the React Native image picker to choose the image but how can I upload it to MySQL using PHP?

1
  • does that answer help you ? Commented Mar 24, 2018 at 19:33

1 Answer 1

1

The answer to your question consists of two parts:


Part one: (client-side)

For the mobile part (React native):

You could use this library

OR following this article that mentions a step-by-step image uploading:

Uploading Images From React Native To Your Server


Now it comes to the second part:

Part two: (server-side)

You should allow your php code to receive images from the form data submitted

You could follow the following helpful article : Upload Image to Database and Server using HTML,PHP and MySQL

And this question is wonderful too.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.