getPdo(); $attrs = $pdo->prepare( "SELECT id, attr_name, attr_type, unit FROM company_products_attr WHERE industry = ? AND is_active = 1 ORDER BY sort_order, id" ); $attrs->execute([$industry]); Response::success(['attrs' => $attrs->fetchAll()]);