Database error : Invalid SQL: SELECT photo_item.cod_pho,photo_item.cod_mat,photo_item.cod_pro,photo_item.pho_list,photo.pho_file,photo.pho_descr_lang_it FROM photo,photo_item WHERE photo.cod_pho=photo_item.cod_pho AND photo_item.='' ORDER BY photo_item.pho_list
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 '='' ORDER BY photo_item.pho_list' at line 1)