27.01.2015, 05:38
Hello! How do I check which one to check if the account exists in the database?
I tried this:
but does not work.
I use mysql r39-2
I tried this:
PHP код:
mysql_format(mysql, szQuery, 128, "SELECT * FROM `users` WHERE `Username` = '%s' LIMIT 1;", banname);
mysql_query(mysql, szQuery);
if(cache_get_row_count(mysql) > 0)
{
SendClientMessage(playerid, COLOR_GENERAL2, "Acest cont (%s) nu exsista in baza de date.", banname);
return 1;
}
I use mysql r39-2