Is there a way to get PHP to return an AJAX error code if the PHP script fails somewhere? I was following a tutorial and typed this in to my PHP:
$return[\'error\
try this out. Hope it helps.
Error: Fill in ALL fields.