forgot password help
In my login.php file I got a forgot password text field as well so the user can put their email address in and have a email sent containing their password
But am getting the following error and have no idea why
Login Failed. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' WHERE 'username' ='.'' at line 1
Thank you in advance
Try delete the single quotes from 'username' in sql query.
If not works, post that piece of code.
yea single quotes have to go from around username change it instead to backticks like this `username`