Created
June 26, 2014 04:17
-
-
Save goldalworming/4e4391313d9013996f95 to your computer and use it in GitHub Desktop.
insert date to oracle php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$objarray['tgl'] = date("Y-m-d",strtotime($arraydata->ACT_TGLENTRY)); | |
$sql="insert into mart_dws_activity (ACT_GPART,ACT_BU_NAME,ACT_ID_ACT,ACT_JNSACT,ACT_PICTELKOM,ACT_TGLENTRY,ACT_RESULT,ACT_TLPRMH,ACT_PICCUST) values ('$gpart', '$bu_name', '$id', '$jns', '$pictelkom', to_date('$tgl','yyyy-mm-dd'), '$result', '$telprmh', '$piccust')"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment