format(query, sizeof(query), "INSERT INTO `atm` (Atm_ID,Atm_PosX,Atm_PosY,Atm_PosZ,Atm_PosA,Atm_PosA,Atm_Cash,Atm_Etat) VALUES (%d,%f,%f,%f,%f, 5000,1)",AtmCount, Pos[0], Pos[1], Pos[2], Pos[3]);
mysql_function_query(MysqlConnect, query, false, "", "");
[18:08:26] [ERROR] CMySQLQuery::Execute[] - (error #1136) Column count doesn't match value count at row 1
[18:08:37] [ERROR] CMySQLQuery::Execute[] - (error #1136) Column count doesn't match value count at row 1
[18:08:38] [ERROR] CMySQLQuery::Execute[] - (error #1136) Column count doesn't match value count at row 1
[18:12:22] [ERROR] CMySQLQuery::Execute[] - (error #1136) Column count doesn't match value count at row 1
[18:12:37] [ERROR] CMySQLQuery::Execute[] - (error #1136) Column count doesn't match value count at row 1
[18:12:51] [ERROR] CMySQLQuery::Execute[] - (error #1136) Column count doesn't match value count at row 1
[18:13:04] [ERROR] CMySQLQuery::Execute[] - (error #1136) Column count doesn't match value count at row 1
[18:14:23] [ERROR] CMySQLQuery::Execute[] - (error #1136) Column count doesn't match value count at row 1
mysql_tquery(1, "INSERT INTO Joueurs (id, pass, niveau) VALUES (1, 'azerty')");
mysql_tquery(1, "INSERT INTO Joueurs (id, pass, niveau) VALUES (1, 'azerty', '18')");
format(query, sizeof(query), "INSERT INTO `atm` (Atm_ID,Atm_PosX,Atm_PosY,Atm_PosZ,Atm_PosA,Atm_Cash,Atm_Etat) VALUES (%d,%f,%f,%f,%f, 5000,1)",AtmCount, Pos[0], Pos[1], Pos[2], Pos[3]);
mysql_function_query(MysqlConnect, query, false, "", "");
Votre taille de la chaоne est trop petit. Augmenter la taille de la requкte.
|
Je sais pas trop en quelle langue je dois rйpondre а Clad...
Pour кtre sыr, je vais lui rйpondre en anglais (dйsolй, je sais qu'on est partie fr, mais je veux кtre parfaitement compris). @Clad : Hi. First, I ask you to apologize for the "pauvre noob". Whether it was a joke or not, I don't care. About my message, you say I "copied what ManuelNeuer told". That's true. But haven't you seen the quote ? If you haven't, then let me show it to you : If you still cannot see the quote (even with a red highlight and with the default bubble style of vBulletin), I kindly ask you to go out of there. Finally, "ManuelNeuer est nouveau mais il scripte mieux que toute la section franзaise", let me doubt. I won't affirmate myself as "the best French scripter" simply because I'm not. But I hardly belive that ManuelNeuer codes better than Sasuke (this man : http://forum.sa-mp.com/member.php?u=235654). So keep in mind that : 1) Being rude with persons isn't something to do (particularly when this person has done nothing but helping, and also when this person has more repartee than you), especially when you are known by no one here 2) Generalizing and considering your friends as the best of the world is not good (and is not true). Regards. |