mysql_query problem
#1

Hello,
I am connected to my database and i am trying to make query:

pawn Код:
new query[256], nick[32];
                GetPlayerName(playerid,nick,32);
                mysql_format(MySql, query, 256, "INSERT INTO `konta` (`nick`, `haslo`, `datazalozenia`) VALUES ('%s', '%s', '0')",nick,HasloPrzyRejestracji[playerid]);
                mysql_query(MySql, query);
of course i created database and table, but it still doesn't work..
i'm using this: https://sampforum.blast.hk/showthread.php?tid=56564
Reply


Messages In This Thread
mysql_query problem - by Sielly - 20.10.2014, 12:30
Re: mysql_query problem - by zaibaslr2 - 20.10.2014, 12:52
Re: mysql_query problem - by Sielly - 20.10.2014, 13:32
Re: mysql_query problem - by zaibaslr2 - 20.10.2014, 13:37
Re: mysql_query problem - by Vince - 20.10.2014, 13:44
Re: mysql_query problem - by MORJAN5566 - 20.10.2014, 13:44
Re: mysql_query problem - by Sielly - 20.10.2014, 13:53

Forum Jump:


Users browsing this thread: 2 Guest(s)