Changeset 4608 for temp/trunk/html/admin/contents/inquiry.php
- Timestamp:
- 2006/09/11 19:37:56 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/contents/inquiry.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/contents/inquiry.php
r1328 r4608 76 76 77 77 78 $sql = "SELECT *, to_char( create_date, 'YYYY/MM/DD' ) as disp_date FROM dtb_question WHERE del ete= 0 ORDER BY question_id";78 $sql = "SELECT *, to_char( create_date, 'YYYY/MM/DD' ) as disp_date FROM dtb_question WHERE del_flg = 0 ORDER BY question_id"; 79 79 $result = $conn->getAll($sql); 80 80 $objPage->list_data = $result; … … 122 122 } elseif ( ( $_GET['mode'] == 'delete' ) && ( sfCheckNumLength($_GET['question_id']) ) ){ 123 123 124 $sql = "UPDATE dtb_question SET del ete= 1 WHERE question_id = ?";124 $sql = "UPDATE dtb_question SET del_flg = 1 WHERE question_id = ?"; 125 125 $conn->query( $sql, array( $_GET['question_id'] ) ); 126 126 sfReload(); … … 129 129 130 130 $head = sfGetCSVList($arrCVSTITLE); 131 $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 ete= 0 ORDER BY result_id ASC");131 $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"); 132 132 $data = ""; 133 133 for($i = 0; $i < count($list_data); $i++) {
Note: See TracChangeset
for help on using the changeset viewer.
