Check records in mysql
#1

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.

PHP код:
 mysql_format(Dbquerysizeof(query), "SELECT `players` from `table` WHERE `players`='Nick' ");
    
    if(??? > 
0)
        {
            ...
        }
        else
        {
            ...
        } 
Reply


Messages In This Thread
Check records in mysql - by Oficer - 21.02.2018, 19:51
Re: Check records in mysql - by Kaperstone - 21.02.2018, 20:07

Forum Jump:


Users browsing this thread: 1 Guest(s)