how to upload more than one image to server(mysql database) using php and android

前端 未结 2 2042
无人共我
无人共我 2021-01-15 02:39

I am referring this code in my project..code snippet. Here i can able to upload one image succesfully..Now i have to upload more than one image..How can i do that one..I di

2条回答
  •  一个人的身影
    2021-01-15 03:01

    Please refer to my answer to the question:

    Save multiple image into mysql php from android but only one image get inserted

    Edit:

    In your PHP sript you are overwriting the image upload because you are using the same upload path for both images.

    You must make sure the $path value is unique .

    Try this script:

提交回复
热议问题