EMAIL PROTECTED]
Subject: Re: [PHP] Add a leading zero
www.php.net/str_pad
Shaun wrote:
> Hi,
>
> How can i add a leading zero to the first result of this loop so that i
get
> 00, 15, 30, 45?
>
>
> $i = 0;
> while ($i <= 45){
>
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Add a leading zero
www.php.net/str_pad
Shaun wrote:
> Hi,
>
> How can i add a leading zero to the first result of this loop so that i
get
> 00, 15, 30, 45?
>
>
> $i = 0;
> while ($i <
www.php.net/str_pad
Shaun wrote:
Hi,
How can i add a leading zero to the first result of this loop so that i get
00, 15, 30, 45?
'.$i.'';
$i+=15;
}
?>
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
3 matches
Mail list logo