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
/* | |
ceritanya gini, saya ada buat scoring credit, didalam fiturnya itu saya | |
ada buat parameter umur, misalnya : | |
deskripsi = < 20 tahun | |
bobot = 4 | |
nilai = 1 | |
jumlah = 4 | |
nah jadi misalnya user memilih umur pada combox <20 tahun, |
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
<?php | |
/* | |
fungsi ini saya buat ada ceritanya, dan aplikasi ini host to host dengan kementrian, nah di spek mereka itu ketika Bank untuk mau | |
Get dan Post data headernya harus berisikan token, jadi token tersebut sebagai otentikasinya. dan awalnya setiap login mereka selalu | |
memberikan token, jadi saya ubah konsepnya gimana supaya aplikasi saya tidak berulang get token. sehingga saya buatlan fungsinya dibawa ini | |
saya tidak jelasan tiap2 baris, | |
jadi kalo ada yang mau ditanyak silahkan hubungi saya : | |
eMail : [email protected] | |
website : www.triwiyono.com | |
*/ |
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
<?php | |
/* | |
buat helper sendiri | |
jika data tidak diinput secara otomatis nilai yang masih ke tabel adalah angka 0 | |
*/ | |
function setnol($var){ | |
if (trim($var)==''){ | |
return 0; | |
}else{ | |
return $var; |
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
<?php | |
date_default_timezone_set('Asia/Jakarta'); | |
echo date('d-m-Y H:i:s'); | |
?> |