[Ajuda] mysql_tquery nгo funciona
#8

Quote:
Originally Posted by SammyJ
Посмотреть сообщение
PHP код:
mysql_format(conexaoquerysizeof(query), "INSERT INTO players (Nick,Senha) VALUES ('%s','%s')"PlayerInfo[playerid][pNome], MyHash); 
mysql_tquery(conexaoquery"DadosRegistrados""ii"0playerid); 
Vocк esqueceu de fechar as aspas simples do ъltimo valor.


@edit



Entгo poste os logs do mysql.
Quote:

[15:57:16] [ERROR] mysql_connect: handle error: no database specified
[15:57:16] [ERROR] mysql_errno: invalid connection handle '1'
[15:57:16] [ERROR] mysql_close: invalid connection handle '0'
[18:10:15] [WARNING] mysql_connect: no password specified
[20:07:19] [WARNING] mysql_connect: no password specified
[20:07:53] [ERROR] error #1064 while executing query "UPDATE players Admin = 0, Skin = 0, Dinheiro = 0 WHERE Nick = 'Diego'": You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0, Skin = 0, Dinheiro = 0 WHERE Nick = 'Diego'' at line 1
[20:08:34] [ERROR] error #1064 while executing query "UPDATE players Admin = 0, Skin = 0, Dinheiro = 0 WHERE Nick = 'Diego'": You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0, Skin = 0, Dinheiro = 0 WHERE Nick = 'Diego'' at line 1
[20:08:53] [ERROR] mysql_format: destination size '100' is too small
[20:08:53] [ERROR] error #1065 while executing query "": Query was empty
[20:09:13] [ERROR] error #1064 while executing query "UPDATE players Admin = 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'": You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'' at line 1
[20:10:50] [WARNING] mysql_connect: no password specified
[20:11:33] [ERROR] mysql_format: destination size '100' is too small
[20:11:33] [ERROR] error #1065 while executing query "": Query was empty
[20:11:43] [ERROR] error #1064 while executing query "UPDATE players Admin = 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'": You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'' at line 1
[20:19:44] [WARNING] mysql_connect: no password specified
[20:19:59] [ERROR] mysql_format: destination size '100' is too small
[20:19:59] [ERROR] error #1065 while executing query "": Query was empty
[20:20:11] [ERROR] error #1064 while executing query "UPDATE players Admin = 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'": You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'' at line 1
[20:23:07] [WARNING] mysql_connect: no password specified
[20:23:16] [ERROR] mysql_format: destination size '100' is too small
[20:23:16] [ERROR] error #1065 while executing query "": Query was empty
[20:23:34] [ERROR] error #1064 while executing query "UPDATE players Admin = 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'": You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'' at line 1
[21:38:04] [WARNING] mysql_connect: no password specified
[21:38:37] [ERROR] mysql_format: destination size '1' is too small
[21:38:37] [ERROR] error #1065 while executing query "": Query was empty
[21:38:57] [ERROR] error #1064 while executing query "UPDATE players Admin = 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'": You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'' at line 1
[21:42:56] [WARNING] mysql_connect: no password specified
[21:43:06] [ERROR] error #1065 while executing query "": Query was empty
[21:43:19] [ERROR] error #1064 while executing query "UPDATE players Admin = 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'": You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'' at line 1
[08:26:45] [WARNING] mysql_connect: no password specified
[08:27:11] [ERROR] mysql_format: destination size '100' is too small
[08:27:11] [ERROR] error #1065 while executing query "": Query was empty
[08:27:16] [ERROR] error #1064 while executing query "UPDATE players Admin = 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'": You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'' at line 1
[11:22:34] [WARNING] mysql_connect: no password specified
[11:22:49] [ERROR] mysql_format: destination size '100' is too small
[11:22:49] [ERROR] error #1065 while executing query "": Query was empty
[11:22:59] [ERROR] error #1064 while executing query "UPDATE players Admin = 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'": You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'' at line 1
[13:01:49] [WARNING] mysql_connect: no password specified
[13:02:11] [ERROR] error #1364 while executing query "INSERT INTO players (Nick,Senha) VALUES ('Diego','foda1234')": Field 'Skin' doesn't have a default value
[13:02:15] [ERROR] error #1064 while executing query "UPDATE players Admin = 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'": You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0, Skin = 3, Dinheiro = 500 WHERE Nick = 'Diego'' at line 1
Este й o log
Reply


Messages In This Thread
mysql_tquery nгo funciona - by Diego54 - 03.02.2018, 23:50
Re: mysql_tquery nгo funciona - by ZaHHak - 04.02.2018, 07:57
Re: mysql_tquery nгo funciona - by Diego54 - 04.02.2018, 09:32
Re: mysql_tquery nгo funciona - by SammyJ - 04.02.2018, 11:28
Re: mysql_tquery nгo funciona - by Diego54 - 04.02.2018, 12:27
Re: mysql_tquery nгo funciona - by ZaHHak - 04.02.2018, 12:44
Re: mysql_tquery nгo funciona - by Diego54 - 04.02.2018, 14:07
Re: mysql_tquery nгo funciona - by Diego54 - 04.02.2018, 14:45
Re: mysql_tquery nгo funciona - by SammyJ - 04.02.2018, 15:45
Re: mysql_tquery nгo funciona - by RodrigoMSR - 04.02.2018, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)