Changeset 5186


Ignore:
Timestamp:
2006/09/19 22:06:53 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk/html
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/contents/csv.php

    r1328 r5186  
    102102    if (is_array($arrData)) { 
    103103        foreach($arrData as $key => $val){ 
    104             $upd_sql = "UPDATE dtb_csv SET status = 1, rank = ? WHERE csv_id = ? AND col = ? "; 
     104            $upd_sql = "UPDATE dtb_csv SET status = 1, rank = ? , update_date = now() WHERE csv_id = ? AND col = ? "; 
    105105            $objQuery->query($upd_sql, array($key+1, $csv_id,$val)); 
    106106        } 
  • temp/trunk/html/admin/contents/inquiry.php

    r5185 r5186  
    9797                $question_id = $objQuery->nextval('dtb_question', 'question_id'); 
    9898            } 
    99             $conn->query("INSERT INTO dtb_question ( question, question_name, question_id, create_date, update_date) VALUES (?, ?, ?, now(), now())", $sql_val ); 
     99            $conn->query("INSERT INTO dtb_question ( question, question_name, question_id, create_date) VALUES (?, ?, ?, now())", $sql_val ); 
    100100            $objPage->MESSAGE = "ÅÐÏ¿¤¬´°Î»¤·¤Þ¤·¤¿"; 
    101101             
  • temp/trunk/html/inquiry/index.php

    r1328 r5186  
    117117                } 
    118118            } 
    119              
     119            $objPage->arrForm['create_date'] = "now()"; 
    120120            // £Ä£ÂÅÐÏ¿ 
    121             $conn->autoExecute("dtb_question_result", $objPage->arrForm ); 
     121            $objQuery = new SC_Query(); 
     122            $objQuery->insert("dtb_question_result", $objPage->arrForm ); 
    122123             
    123124        //--------- ¢¥ SQL ---------// 
Note: See TracChangeset for help on using the changeset viewer.