12-10-2007, 10:59 PM
|
#7 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
Quote:
Originally Posted by Haris
|
Regarding echo sprintf, what's that all about? Also, there is no need in this case for double quotes around the formatting string. I'm sure this isn't the first time I've seen echo sprintf posted up here, so every time I see it, I'll keep nagging!
php Code:
foreach (range(1, 200) as $iInteger){ printf('%02d', $iInteger); }
Last edited by Salathe : 12-11-2007 at 01:59 AM.
|
|
|
|