12.11.2013, 19:31
What I would usually do in this situation is debug my code.
First, find out exactly WHERE the script is returning "incorrect details".
If the script is failing during a password comparison,
Echo the two passwords being compared and make sure they are the same, ie. one is not cut off.
If the script is failing during an SQL query,
Add an error echo to find out the problem with the query.
example:
If the script is failing somewhere else, please give me info on what is happening where the fail occurs.
First, find out exactly WHERE the script is returning "incorrect details".
If the script is failing during a password comparison,
Echo the two passwords being compared and make sure they are the same, ie. one is not cut off.
If the script is failing during an SQL query,
Add an error echo to find out the problem with the query.
example:
PHP код:
...
if (!$SQLResult) {
echo("Error Message: ". $MySQLi->error);
}