With some help, I have managed to make a form that validates and confirms user password before adding the user to the database. I have encountered some problem as the data of th
Have you set your content-type in your php?
header('Content-Type: application/json');
Also you don't need to put "true" in quote marks, when the json gets to your php script, once you run json_decode, php will recognise it as a boolean.