Another mysql error -.-
#7

Quote:
Originally Posted by rappy93
Посмотреть сообщение
Not sure it will work if you combined them but lets try.
Put this at the top of the gamemode and fill in your DB connection info.
pawn Код:
new connectionHandle;
#define SQL_HOST ""
#define SQL_USER ""
#define SQL_PASS ""
#define SQL_DB ""
And under OnGameModeInit add
pawn Код:
connectionHandle = mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
Now,a querry should look like this:

pawn Код:
mysql_function_query(connectionHandle, query, "","");
For more information about SYNTAX and stuff go to BlueG's wiki page.
k gonna test
thank you
Reply


Messages In This Thread
Another mysql error -.- - by youssefehab500 - 27.05.2014, 14:10
Re: Another mysql error -.- - by Konstantinos - 27.05.2014, 14:14
Re: Another mysql error -.- - by youssefehab500 - 27.05.2014, 14:15
Re: Another mysql error -.- - by rappy93 - 27.05.2014, 14:18
Re: Another mysql error -.- - by youssefehab500 - 27.05.2014, 14:22
Re: Another mysql error -.- - by rappy93 - 27.05.2014, 14:25
Re: Another mysql error -.- - by youssefehab500 - 27.05.2014, 14:45
Re: Another mysql error -.- - by youssefehab500 - 27.05.2014, 14:56

Forum Jump:


Users browsing this thread: 2 Guest(s)