Quote:
Originally Posted by Djole1337
wait what...
if no rows -> login
it should be
if (rows) // login dialog
else // register dialog
also don't fetch the whole table... you can do something like
Код:
select count(*) from `Users` where `Account` = '%s' limit 0,1;
|
That, also, the query will fail because unthreaded queries are not supported by R7. As I already said you need to thread it into a function and use the cache data.