Have been trying on these codes and I want to send a email which will auto generate the password and the random password will then update in my database column which is the
The JSON string you're trying to parse is invalid - looks like it's got some raw HTML, which mean it's either badly generated, or PHP is inserting errors/warnings and destroying the string.