select md.id, md.descr, md.descr_ext, mh.descr as hersteller, mk.descr as kategorie, ms.descr as scale, mv.descr as version from mb_daten md, mb_hersteller mh, mb_kategorie mk, mb_scale ms, mb_version mv where md.id = and md.mb_hersteller_id = mh.id and md.mb_kategorie_id = mk.id and md.mb_scale_id = ms.id and md.mb_version_id = mv.id
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 md.mb_hersteller_id = mh.id and md.mb_kategorie_id = mk.id and md.mb_sca' at line 1
/galerie/modellbau/showPic.php