Shorter 4 digit PIN's


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?
  2. $i = 0;
  3. while($i < 10000)
  4. {
  5. echo str_repeat("0",(4-strlen($i))).$i;
  6. if($i != 9999) echo ', ';
  7. $i++;
  8. }
  9. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.