So, this PHP generates and send a password reset link with token, we will guide step by step on how to generate reset/forget password link with expire time in PHP MySQL and send to link in email using PHPMailer.
[Reset Password Link Send] Email Using PHP - Step By Step