Doug Fulton wrote:
function padToNine($num) {
Apart from the other suggestions I'd remove the padToNine function and use $padded_num = sprintf('%09d', $number); I think that returns the same ;) -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php