Jump to content
  • 0

Question

Posted

Problema intalnita (descriere): Erori mysql pe comenziile care se folosesc de MYSQL.
Ero(area / rile) / warning-(ul / urile):

[ERROR] "mysql_query" - invalid connection handle (ID 1)
[ERROR] "mysql_format" - invalid connection handle (ID = 1)
[ERROR] "mysql_tquery" - invalid connection handle (ID = 1)


Liniile de cod / sursa / script-ul(obligatoriu): Orice comanda ce tine de MYSQL, gen /setmoney primesc aceste erori.
Imagini / Video (optional): - - -.
Ati incercat sa rezolvati singur?: Da, am inlocuit mysql_query cu mysql_tquery etc.

4 answers to this question

Recommended Posts

  • 0
Posted

Salut, eu folosesc aceasta variabila pentru definirea SQL-ului: new SQL; nu new Handle;

mysql_format(SQL, var, sizeof(var), "UPDATE `users` SET `Money`='%d' WHERE `name`='%s'",GetPlayerCash(playerid), playerName);
mysql_tquery(SQL, var, "", "");

 

  • 0
Posted

Am rezolvat totusi multumesc pentru implicare. Am schimbat new SQL; in new SQL = 0; vad ca nu primesc nimica.

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.