29.10.2010, 17:31
Hi, why this don't load the MD5 PASSWORD ?
format(Query, sizeof(Query), "SELECT * FROM `playerinfo` WHERE `user` = '%s' AND `password` = MD5('%s')", escpname, inputtext);
I did the same in INSERT, and it inserts MD5 password in DB. But not here in selecting.
format(Query, sizeof(Query), "SELECT * FROM `playerinfo` WHERE `user` = '%s' AND `password` = MD5('%s')", escpname, inputtext);
I did the same in INSERT, and it inserts MD5 password in DB. But not here in selecting.