daily pastebin goal
93%
SHARE
TWEET

Untitled

a guest Nov 16th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. #.... ubah 4 jadi 04. dan seterusnya selama 1 digit, jika dua digit
  3. # seperti 10, tidak akan berubah jadi 010 tapi tetap 10
  4. function two_digit($string)
  5. {
  6.   return sprintf('%02d', $string);
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top