mySQL-Fehler select_assoc (nolting-gmbh@dbosiris):
SELECT p.*, k.id AS kategorieId, k.name FROM produkte p
				LEFT JOIN kategorien2produkte k2p
					ON k2p.produkt_id = p.id
				LEFT JOIN kategorien k
					ON k2p.kategorie_id = k.id
				WHERE p.aktiv = 'y' AND (k.parent_id =  OR k.id = ) ORDER BY k.position, k2p.position

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 'OR k.id = ) ORDER BY k.position, k2p.position' at line 6