Display the returned error message (after updating the PHP file) and include the error code in displayMessage.