DUMPER
SQL: SELECT *, good_id as id, concat('/files/project_221/good/',photo) as photo_and_path , concat('/files/project_221/good/',substring_index(photo,'.',1),'_mini1','.',substring_index(photo,'.',-1)) as photo_and_path_mini1 , concat('/files/project_221/good/',substring_index(photo,'.',1),'_mini2','.',substring_index(photo,'.',-1)) as photo_and_path_mini2 , CASE pol WHEN '1' then 'Прямая' WHEN '2' then 'Обратная' END as `pol`, pol as pol_val FROM struct_221_good WHERE enabled=1 and good_id in (?,?,?)
VALUES: $VAR1 = '278'; $VAR2 = '278'; $VAR3 = '275';

Наконечники