Jump to content
php.lv forumi

#1064 - You have an error in your SQL syntax; check the manual that co


millers
 Share

Recommended Posts

Var kads izplaidzet kur sini skripta ir kluda ? met ara sadu erroru ..

 

#1064 - 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 ' 28, 120, '', 0, 0, 0, 'LAST_HIT', 0, 0, 0, 'balanced', 'false')' at line 1

 

 

INSERT INTO `npc` VALUES (57, 13143, 'Blur', 1, 'Global Shop', 1, 'LineageNPC2.K_F1_grand', 9.00, 32.00, 85, 'male', 'L2Merchant', 40, 2444, 2444, 0.00, 0.00, 10, 10, 10, 10, 10, 10, 0, 0, 500, 500, 500, 500, 278, 0, 333, 0, 0, , 28, 120, '', 0, 0, 0, 'LAST_HIT', 0, 0, 0, 'balanced', 'false');

Link to comment
Share on other sites

INSERT INTO `npc` VALUES (57, 13143, 'Blur', 1, 'Global Shop', 1, 'LineageNPC2.K_F1_grand', 9.00, 32.00, 85, 'male', 'L2Merchant', 40, 2444, 2444, 0.00, 0.00, 10, 10, 10, 10, 10, 10, 0, 0, 500, 500, 500, 500, 278, 0, 333, 0, 0, DIVI_KOMATI , 28, 120, '', 0, 0, 0, 'LAST_HIT', 0, 0, 0, 'balanced', 'false');

 

Divi komati pirms skaitļa 28.

Link to comment
Share on other sites

INSERT INTO `npc` VALUES (57, 13143, 'Blur', 1, 'Global Shop', 1, 'LineageNPC2.K_F1_grand', 9.00, 32.00, 85, 'male', 'L2Merchant', 40, 2444, 2444, 0.00, 0.00, 10, 10, 10, 10, 10, 10, 0, 0, 500, 500, 500, 500, 278, 0, 333, 0, 0, , 28, 120, '', 0, 0, 0, 'LAST_HIT', 0, 0, 0, 'balanced', 'false');

 

Iezīmēju rajonu un apakšsvītroju un iesarkanoju vietu...nākamreiz skaties kārtīgi - KĀRTĪGI!

 

EDIT:

 

Nevarēju atturēties. Kemito. WTF???

 

You have an error in your SQL syntax jau, manuprāt, pasaka priekšā, kur jāmeklē kļūda. Protams, var tikt izmantots, kāds aizsistais atslēgas vārds, bet vairumā gadījumu kļūda būs iekš kvērija.

Edited by rATRIJS
Link to comment
Share on other sites

rATRIJS: Es saskāros ar šādu pašu kļūdu, tapēc īpaši dziļi neierakos pašā viņa kverijā! Manas kļūdas atrisinājums bija kolonnas nosakumu datubāzē!!!

 

Manuprāt, parasti raksta kvēriju priekš attiecīgās tabulas, nevis tabulu piekārto kaut kādam kvērijam :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...