PHP password_hash(), password_verify()
Here is what I use for password_hash and password_verify. Try it out as written, you can then start adding in the rest of your code once successful. Modify table and column name(s) to suit. N.B.: This is a basic insertion method. I suggest you use prepared statements instead. Sidenote: The password column needs to be long enough to accomodate the hash VARCHAR(255). … Read more