> I'm a newbie, but maybe this'll do it: > if ($str!='0') > { > $str = ltrim($str, '0') > }
Duh. Sometimes I amaze myself at how stupid I can be. Thanks. :) __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php