{HELP} MySQL
#2

I have no idea why you use # you're probably old school scripter , try this code, this could work (atleast try :P )

pawn Код:
mysql_function_query(Connect, Str, false, "", ""); //used "" instead of #
Or

You could simply INSERT the password, all rows will be assigned as null [b]Automatically

pawn Код:
new
    Str[256], Nome[24];
GetPlayerName(playerid,Nome, sizeof(Nome));
format(Str, sizeof(str), "INSERT INTO `contas` (`Nome`, `Key`) VALUES ('%s', '%s')", Nome, password);
mysql_function_query(Connect, Str, false, "", "");
EDIT: @Konstantinos never knew about that , atleast I learnt something new , cheers mate
Reply


Messages In This Thread
{HELP} MySQL - by iryston - 27.10.2013, 17:51
Re: {HELP} MySQL - by Patrick - 27.10.2013, 17:54
Re: {HELP} MySQL - by Konstantinos - 27.10.2013, 17:58
Re: {HELP} MySQL - by iryston - 27.10.2013, 18:23
Re: {HELP} MySQL - by Konstantinos - 27.10.2013, 18:27
Re: {HELP} MySQL - by iryston - 27.10.2013, 18:46
Re: {HELP} MySQL - by Vince - 27.10.2013, 18:52
Re: {HELP} MySQL - by iryston - 27.10.2013, 18:54
Re: {HELP} MySQL - by Konstantinos - 27.10.2013, 18:55
Re: {HELP} MySQL - by iryston - 27.10.2013, 19:03

Forum Jump:


Users browsing this thread: 1 Guest(s)