Changeset 14141 for branches/dev/html/admin/basis/mail.php
- Timestamp:
- 2007/06/01 17:53:19 (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
r14082 r14141 77 77 if ( $result ){ 78 78 $sql_where = "template_id = ". addslashes($_POST['template_id']); 79 $conn->query("UPDATE dtb_mailtemplate SET send_type = ?,template_id = ?, template_name = ?,subject = ?, header = ?, footer= ?,creator_id = ?, update_date = now() WHERE ".$sql_where, $data);79 $conn->query("UPDATE dtb_mailtemplate SET send_type = ?,template_id = ?, template_name = ?,subject = ?,body = ?,creator_id = ?, update_date = now() WHERE ".$sql_where, $data); 80 80 }else{ 81 $conn->query("INSERT INTO dtb_mailtemplate (send_type,template_id,template_name,subject, header,footer,creator_id,update_date,create_date) values ( ?,?,?,?,?,?,?,now(),now() )", $data);81 $conn->query("INSERT INTO dtb_mailtemplate (send_type,template_id,template_name,subject,body,creator_id,update_date,create_date) values ( ?,?,?,?,?,?,now(),now() )", $data); 82 82 } 83 83
Note: See TracChangeset
for help on using the changeset viewer.
