Problem with mysql
#1

I have a problem with mysql, line : mysql_query

Код:
public OnPlayerConnect(playerid)
{
	new query[126], pName[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pName, sizeof(pName));
	format(query, sizeof(query), "SELECT * From accounts WHERE name = '%s'", pName);
	mysql_query(query);
	mysql_store_result();
Код:
error 035: argument type mismatch (argument 1)
Reply
#2

Код:
mysql_query(YourConnectionDB, query);
Reply
#3

ok thanks guys
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)