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