Einzelnen Beitrag anzeigen

Nightshade

Registriert seit: 7. Jan 2003
Ort: Menden
192 Beiträge
 
Delphi 7 Enterprise
 
#6

Re: [PHP/SQP] INSERT INTO wird nicht ausgeführt

  Alt 30. Okt 2004, 01:14
Damit kommt mein PHPMyAdmin nicht klar :

Code:
INSERT INTO '11-04'
SET ra = 'j'

MySQL meldet:


#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 ''11-04'
SET ra = 'j'' at line 1
Code:
INSERT INTO '11-04'( ra )
VALUES (

'j'
)

MySQL meldet:


#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 ''11-04'( ra )
VALUES (  'j' )' at line 1
Also Tabellennamen nicht in Anführungsstriche, d.h. aber auch keine arithmetischen zeichen wie - + * /

Versuch mal :

Code:
INSERT INTO a SET ra = 'j'
Christian
Killing for peace is like fucking for virginity

Nightshade
  Mit Zitat antworten Zitat