Changeset 13698 for branches/dev/html
- Timestamp:
- 2007/05/29 19:06:57 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/html/admin/basis/mail.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/basis/mail.php
r13697 r13698 79 79 if ( $result ){ 80 80 $sql_where = "template_id = ". addslashes($_POST['template_id']); 81 $conn->query("UPDATE dtb_mailtemplate SET template_id = ?, subject = ?,header = ?, footer = ?,creator_id = ?, update_date = now() WHERE ".$sql_where, $data);81 $conn->query("UPDATE dtb_mailtemplate SET template_id = ?, template_name = ?,subject = ?,header = ?, footer = ?,creator_id = ?, update_date = now() WHERE ".$sql_where, $data); 82 82 }else{ 83 $conn->query("INSERT INTO dtb_mailtemplate (template_id, subject,header,footer,creator_id,update_date,create_date) values (?,?,?,?,?,now(),now() )", $data);83 $conn->query("INSERT INTO dtb_mailtemplate (template_id,template_name,subject,header,footer,creator_id,update_date,create_date) values ( ?,?,?,?,?,?,now(),now() )", $data); 84 84 } 85 85
Note: See TracChangeset
for help on using the changeset viewer.
