[Solved] Sign in form always showing “Wrong Credentials”
Your SQL query/logic is completely wrong. What you should do is check if that user and password combination exits in database using WHERE clause. But actually you are doing is fetching each row and checking for equality. In such situation you can also get n numbers of wrong credentials. $query = mysql_query(“SELECT * FROM table … Read more