$item_data = < 添付ファイル EOITEM if($FORM{'ATTACHMENT_FILE_'}) { $item_data .= '有り (確認)'; } else { $item_data .= '無し'; } $item_data .= < EOITEM