note 3899 deleted from sprintf by torben
| From: | torben@php.net | Date: | Tue, 12 Sep 2000 07:27:19 +0000 |
| Subject: | note 3899 deleted from sprintf by torben | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4750@lists.php.net to get a copy of this message | ||
if U need counter do it like that:
printf("%07d",$counter_value);
U will get eg. 0000005 or 0000150 dependign on the $counter_value
If u wanna have counter longer or shorter change the 7 to whatever U need.