Hello guys ! Ok , so here I am with a question that I hope won't be too dificult - after a few tries I haven't managed this time to get it fixed only managed to bypass it - but I'm a kinda newbie in php for now. The problem is this:
As an example = You have 2 entries in your database:
1.Anne Green password
2.John Smith Password->(duplicate password as above)
-----
1 and 2 as `IDs` ,John and Anne as `name` , Green and Smith as `surname` and Password as `password` fields. When I log in as Anne Green with Password the query says that password is correct but the name is wrong - since both people have the same password. When I change ORDER BY id ASC only Anne Green can be logged in not John Smith...I would be muchly grteful if someone passed me an example when one can be looged in with the same ( duplicate ) password. I've bee trying LIKE and WHERE commands but to no avail now. I know the passwords should be not duplicated but I need a solution in this case if possible - Thank you muchly guys...
As an example = You have 2 entries in your database:
1.Anne Green password
2.John Smith Password->(duplicate password as above)
-----
1 and 2 as `IDs` ,John and Anne as `name` , Green and Smith as `surname` and Password as `password` fields. When I log in as Anne Green with Password the query says that password is correct but the name is wrong - since both people have the same password. When I change ORDER BY id ASC only Anne Green can be logged in not John Smith...I would be muchly grteful if someone passed me an example when one can be looged in with the same ( duplicate ) password. I've bee trying LIKE and WHERE commands but to no avail now. I know the passwords should be not duplicated but I need a solution in this case if possible - Thank you muchly guys...