Changeset 15022


Ignore:
Timestamp:
2007/07/04 12:07:18 (13 years ago)
Author:
nakanishi
Message:

【修正】CSVダウンロードで全てのアンケート結果がダウンロードされる問題を修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/html/admin/contents/inquiry.php

    r17 r15022  
    138138 
    139139            $head = sfGetCSVList($arrCVSTITLE); 
    140             $list_data = $conn->getAll("SELECT result_id,question_id,question_date,question_name,name01,name02,kana01,kana02,zip01,zip02,pref,addr01,addr02,tel01,tel02,tel03,mail01,question01,question02,question03,question04,question05,question06 FROM dtb_question_result WHERE del_flg = 0 ORDER BY result_id ASC"); 
     140            $list_data = $conn->getAll("SELECT result_id,question_id,question_date,question_name,name01,name02,kana01,kana02,zip01,zip02,pref,addr01,addr02,tel01,tel02,tel03,mail01,question01,question02,question03,question04,question05,question06 FROM dtb_question_result WHERE del_flg = 0 AND question_id = ? ORDER BY result_id ASC",array($_GET['question_id'])); 
    141141            $data = ""; 
    142142            for($i = 0; $i < count($list_data); $i++) { 
Note: See TracChangeset for help on using the changeset viewer.