21.02.2018, 19:51
Hello, how I can check the amount records from query?
In the table I have player nick and I want check is the player in the table.
In the table I have player nick and I want check is the player in the table.
PHP код:
mysql_format(Db, query, sizeof(query), "SELECT `players` from `table` WHERE `players`='Nick' ");
if(??? > 0)
{
...
}
else
{
...
}