use an array
$months = array('01'=>'January','02'=>'February'...);
$thisMonths = array_flip($months);
$month = $thisMonths['January'];
echo $month;
though its easier to just create the array the other way and the just
reference it
$months = array(''January''=>'01','February'=>'02...');
$mo
search the archive.
On 10/16/06, Ron Piggott (PHP) <[EMAIL PROTECTED]> wrote:
I have completely missed it and need to try again.
--
GMail Rocks!!!
I have completely missed it and need to try again.
Ron Piggott (PHP) wrote:
Is there a slick and easy way to convert January to 01 ? (and February
to 02, etc) Ron
You asked this on the general list and got a few responses.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubsc