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
01-27-2013, 09:54 AM
MarPlo
Hi,
Try delete the single quotes from 'username' in sql query.
If not works, post that piece of code.
01-27-2013, 12:24 PM
webdeveloper93
yea single quotes have to go from around username change it instead to backticks like this `username`