Posts by João Paulo Nascimento • 16 points
1 post
-
0
votes1
answer497
viewsA: Login with AJAX in PHP
I believe it is because you indicate in the AJAX call that the return is of type JSON, but in PHP you do not return a JSON but a text. To solve the problem, enter the following statement at the…