samedi 18 avril 2015

AJAX/PHP POST retrieval

I'm doing a POST using AJAX and I'm checking for the response with PHP using


if (!empty($_POST)


but it doesn't seem to be hitting the if or else.


The form is submitting and I get a 200 status in the network tab.


PHP isn't my main language so I'm wondering if I'm missing something relatively simple?


Thanks


Aucun commentaire:

Enregistrer un commentaire