current position:Home>JQ Ajax gets PHP data. Why does it get the entire PHP page?

JQ Ajax gets PHP data. Why does it get the entire PHP page?

2022-01-26 23:12:10 CSDN Q & A

img

img

img

Don't deserve 123 Is that all , Why? data The value of is the whole one php What about the page ?




Refer to the answer 1:

install php Did you? ?
Here is a php Installation tutorial for :http://www.cnblogs.com/timmmmit/archive/2017/10/22/7709483.html




Refer to the answer 2:



Refer to the answer 3:

1、 First : Installation of php Environmental Science , To run php file
2、 secondly :php Write a way , return json Format




Refer to the answer 4:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201262312083155.html

Random recommended