mysql_query
#1

while having this code:
pawn Код:
CreateClan(toplayer,name[],shortname[])
{
    new string[256];
    format(string,sizeof(string),"INSERT INTO clans (name, shortname) VALUES ('%s','%s')",name,shortname);
    mysql_query(string);
    mysql_store_result();
    new id = mysql_insert_id();
    PlayerInfo[toplayer][pClan] = id;
    PlayerInfo[toplayer][pClanRank] = 3;
    LoadClan(id);
    mysql_free_result();
    return id;
}
I had this error
Undefined Symbol mysql_query
Reply


Messages In This Thread
mysql_query - by iFederal - 28.06.2012, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)