변수형 일시를 상숭형으로 대체

This commit is contained in:
gnuboard committed 2013-02-12 14:10:22 +09:00
1 parent c0de3ea2b4
commit af60432e14
50 files changed
+103 -108

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ if ($w == '')
set ma_id = '{$_POST['ma_id']}',
ma_subject = '{$_POST['ma_subject']}',
ma_content = '{$_POST['ma_content']}',
ma_time = '{$g4['time_ymdhis']}',
ma_time = '".G4_TIME_YMDHIS."',
ma_ip = '{$_SERVER['REMOTE_ADDR']}' ";
sql_query($sql);
}
@@ -24,7 +24,7 @@ else if ($w == 'u')
$sql = " update {$g4['mail_table']}
set ma_subject = '{$_POST['ma_subject']}',
ma_content = '{$_POST['ma_content']}',
ma_time = '{$g4['time_ymdhis']}',
ma_time = '".G4_TIME_YMDHIS."',
ma_ip = '{$_SERVER['REMOTE_ADDR']}'
where ma_id = '{$_POST['ma_id']}' ";
sql_query($sql);