PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $from = 100; $to = 300; $len = 7; for($i=$from; $i<=$to; $i++) { //$link = sprintf("site.php?id=%0{$len}s", $i); $link = "site.php?id=" . str_pad($i, $len, '0', STR_PAD_LEFT); // file_get_contents($link); echo $link. PHP_EOL; }
Show:  
Copy Clear