Adatbázis lekérdezés szintaktikai hiba!
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND pm.mail_to = u.id
AND pm.deleted_by_sender = 0
ORDER BY pm.date DES...' at line 4
SELECT pm.id id, pm.title title, UNIX_TIMESTAMP(pm.date) date, pm.mail_read mail_read, u.username username
FROM pm pm, users u
WHERE pm.sender =
AND pm.mail_to = u.id
AND pm.deleted_by_sender = 0
ORDER BY pm.date DESC
LIMIT 0, 10