Einzelnen Beitrag anzeigen
  #1  
Alt 23.05.2008, 11:46:37
Benny 800 Benny 800 ist offline
Anfänger
 
Registriert seit: May 2008
Beiträge: 3
Problem mit WHERE

Hallo ich hab ein Problem mit meiner MySQL Syntax:

Code:
"SELECT * FROM messages WHERE to = '{ $user['id'] }' OR to = '0'"
Mein Error ist:
Code:
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 'to = '10' OR to = '0'' at line 1
Danke für Hilfe

Geändert von Benny 800 (23.05.2008 um 11:47:24 Uhr)
Mit Zitat antworten