PHP returns a two-dimensional array to ajax. How does ajax display the values ​​in this two-dimensional array on the page?
LRTRL
LRTRL 2017-06-27 09:47:06
0
1
1358

As the title states, PHP has successfully passed the two-dimensional array back to ajax. Using alert in ajax can successfully print out the two-dimensional array, but when alerting a one-dimensional array, a pop-up window will appear

#Prompt is undefined. I want to display the specific values ​​in the two-dimensional array on the page. Could you please tell me how to achieve this?

LRTRL
LRTRL

像蜗牛一样爬行,坚信总有一天我会有属于自己的一片天!

reply all(1)
安妮

alert cannot print out the array, use console.log to test it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!