Database error: Invalid SQL: SELECT
vorname,
nachname,
jahrgang,
height,
masse_1,
masse_2,
masse_3,
konfektion_1,
konfektion_2,
weight,
schuhe,
einsatz_id,
region_id,
mode,
portrait,
kunst,
werbung,
bademode,
dessous,
teilakt,
akt,
beso,
homepage,
pic_id,
filename,
session,
main
FROM
model,
pic_relations,
pictures
WHERE
model.ID =
AND model_id = model.ID
AND main = 0
AND pictures.ID = pic_id
MySQL Error: 1064 (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 model_id = model.ID
AND main = 0
AND pictures.ID = pic_id' at line 35)
Session halted.