Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $query4 = $db->query('SELECT MAX(nourut) as kodex3 FROM tw_billing');
- $da3 = $query4->fetch();
- $kode3 = $da3['kodex3'];
- $nourut3 = substr($kode3, 0,16);
- $nourut3++;
- $no3 = sprintf("%016s", $nourut3);
- echo "Kode Pembayaran #" .$no3;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement