From a9fa1b9d37ddcd99956cb4e10e0fe1f734118cbd Mon Sep 17 00:00:00 2001 From: revofpla Date: Wed, 17 Jan 2018 13:19:56 +0900 Subject: [PATCH] =?UTF-8?q?[php5=5Fdebug]=20InsertArray=EB=AC=B8=EC=9D=98?= =?UTF-8?q?=20=EC=BB=AC=EB=9F=BC=EB=AA=85=20=EB=94=B0=EC=98=B4=ED=91=9C=20?= =?UTF-8?q?=EB=88=84=EB=9D=BD=20=EC=9D=BC=EA=B4=84=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i_entrance/donation/Post.php | 16 ++++++++-------- i_login/findpw/sendCodePost.php | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/i_entrance/donation/Post.php b/i_entrance/donation/Post.php index 7a4293cd..260a736d 100644 --- a/i_entrance/donation/Post.php +++ b/i_entrance/donation/Post.php @@ -40,14 +40,14 @@ if($member['GRADE'] < 6) { $total = $donator['TOT'] + $amount; $DB->InsertArray('DONATION', array( - ID => $id, - NAME => $name, - RNAME => $rname, - SUBNAME => $subname, - DATE => $date, - AMOUNT => $amount, - CUMUL => $cumul, - TOTAL => $total + 'ID' => $id, + 'NAME' => $name, + 'RNAME' => $rname, + 'SUBNAME' => $subname, + 'DATE' => $date, + 'AMOUNT' => $amount, + 'CUMUL' => $cumul, + 'TOTAL' => $total )); $response['result'] = 'SUCCESS'; diff --git a/i_login/findpw/sendCodePost.php b/i_login/findpw/sendCodePost.php index e062ef40..9ce8fa20 100644 --- a/i_login/findpw/sendCodePost.php +++ b/i_login/findpw/sendCodePost.php @@ -32,10 +32,10 @@ if($err == 1) { $DB->Delete('EMAIL', "EMAIL='{$email}'"); } $DB->InsertArray('EMAIL', array( - EMAIL => $email, - CODE => $code, - VERIFIED=> 0, - REG_DATE=> _Time::DatetimeNow() + 'EMAIL' => $email, + 'CODE' => $code, + 'VERIFIED'=> 0, + 'REG_DATE'=> _Time::DatetimeNow() )); $response['result'] = 'SUCCESS';