it will be several days that I can not use Ajax to get the data from a php file.
here is my code:
$test = $_GET["test"];
3 line of code with a simple variable with a $ _GET inside.
on the example there is no interest.
it's just for the test.
here is my visual code on construct 2 :
what I would like and recover what my variable contains.
here is the location of my exported project and at the same time the location of the php file :
they and put at the root of my local server.
my local server and create with xampp.
I saw that sometimes they had to meter :
on my php file.
except that every time nothing happens.
the text remains empty.
I really need help.
if I send data to MYSQL there is no problem.
if I want to retrieve data from a variable it does not work.
I tried to use: On error.
nothing changes .