Changeset 4967 for temp/trunk/html/admin/contents/inquiry.php
- Timestamp:
- 2006/09/17 22:11:41 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/contents/inquiry.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/contents/inquiry.php
r4854 r4967 92 92 if ( ! is_numeric($_POST['question_id']) ){ 93 93 //ÅÐÏ¿ 94 // $sql = "select nextval('dtb_question_question_id_seq');";95 // $question_id = $conn->getOne($sql);96 $objQuery = new SC_Query();97 $deliv_id = $objQuery->nextval('dtb_question', 'question_id');98 99 94 $value = serialize($_POST); 100 95 $sql_val = array( $value, $_POST['title'] ,$question_id ); 101 96 $conn->query("INSERT INTO dtb_question ( question, question_name, question_id ) VALUES (?, ?, ?)", $sql_val ); 102 97 $objPage->MESSAGE = "ÅÐÏ¿¤¬´°Î»¤·¤Þ¤·¤¿"; 98 99 $objQuery = new SC_Query(); 100 $question_id = $objQuery->nextval('dtb_question', 'question_id'); 103 101 $objPage->QUESTION_ID = $question_id; 104 102 sfReload();
Note: See TracChangeset
for help on using the changeset viewer.
