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

Any ideas

Thank you in advance

Ian