Problem with Mysql_num_rows
#1

hey i have problem with mysql, I created mysql registration but as I use mysql_num_rows, me an error

Код:
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(315) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Код:
if( mysql_num_rows( GetQuery ) )
    {
	    ShowPlayerDialog( playerid, Registracija, DIALOG_STYLE_INPUT, "Registracija", "Praљome iraљyti savo vartotojo slaptaћodį:", "Registruoti", "Atљaukti" );
	}
	else
	{
	    ShowPlayerDialog( playerid, Prisijungimas, DIALOG_STYLE_INPUT, "Prisijungimas", "Praљome iraљyti savo vartotojo prisijungimo slaptaћodį:", "Prisijungti", "Atљaukti" );

	}
I use G-sTyLeZzZ mysql plugin
Reply
#2

you have 2 get the query up then make this


then like this if(mysql_num_rows() != 0)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)