Advertisement
BimoSora

nourut

Feb 14th, 2020
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. <?php
  2. $query4 = $db->query('SELECT MAX(nourut) as kodex3 FROM tw_billing');
  3. $da3 = $query4->fetch();
  4. $kode3 = $da3['kodex3'];
  5. $nourut3 = substr($kode3, 0,16);
  6. $nourut3++;
  7. $no3 = sprintf("%016s", $nourut3);
  8. echo "Kode Pembayaran #" .$no3;
  9. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement