javascript - When I use FormData to submit data, the data does not appear in the background. What did I write wrong?
天蓬老师
天蓬老师 2017-05-16 12:59:15
0
2
362

1. I used FormData to submit data and upload pictures at the front desk, and then obtained the pictures in the background but could not get the picture information. I don’t know where I made a mistake

2. The following is my front-end code

3. This is my php code

4. The following is the message sent by my console


]

5. I don’t know where I made a mistake. Can someone help me look at it?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(2)
Ty80

formData = new FormData($('formid')[0]);

大家讲道理

I just did this function, but I used ajax here

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template