Re: Restore Leading Zeros in Zip Codes

From: Date: Fri, 22 Aug 2008 15:27:51 +0000
Subject: Re: Restore Leading Zeros in Zip Codes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-278525@lists.php.net to get a copy of this message
At 8:44 PM -0600 8/21/08, Keith Spiller wrote:
Hi, RE: Restore Leading Zeros in Zip Codes Does anyone happen to have a script that will restore the leading zeros in a mixed data set of 5 digit zip codes and 10 digit zip+4 codes? Any suggestions? Thanks, Keith
Keith: Why take them out in the first place? Keep the zip code as a string. After all, not all countries use just numbers. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#278525) next »