Unknown column 'dnevniki' in 'where clause'
SELECT photoID FROM `SC_product_pictures` where productID=dnevniki-v-tverdoj-oblozhke