When using wampServer, the php file cannot be obtained through ajax

want to get php resources locally, so install wampServer, and create your own project under the www file

clipboard.png
index.html
index.htmlajaxdata1.php


php;


clipboard.png

network

clipboard.png

but it cannot be obtained in data in ajax, and fail
how can I get the data in php correctly?

Mar.14,2021

your PHP code is wrong. It should be

.
//
echo "","<br/>";
//
echo ""."<br/>";

so your console reported the wrong'>';

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35cb0-2bfcc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35cb0-2bfcc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?