Hi, How can i add a leading zero to the first result of this loop so that i get 00, 15, 30, 45?
<select name="start_date_minute">
<?php
$i = 0;
while ($i <= 45){
echo '<option value="'.$i.'">'.$i.'</option>';
$i+=15;
}
?>
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

