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 'AND id_lng=' at line 1
SELECT T.id_gallery,T.id_lng,T.idf,T.name,T.info,T.password,T.freesize FROM photoz.gallery T WHERE id_gallery= AND id_lng=
Fatal error: Uncaught Error: Call to a member function fetch_row() on bool in W:\.WebRoot\geniuz.cz\photoz\class.Table.php(87) : eval()'d code:1 Stack trace: #0 W:\.WebRoot\geniuz.cz\photoz\class.Table.php(87): eval() #1 W:\.WebRoot\geniuz.cz\photoz\download.php(13): Table->fetch(false) #2 {main} thrown in W:\.WebRoot\geniuz.cz\photoz\class.Table.php(87) : eval()'d code on line 1