printf("%02i", $num); should work
-----Original Message-----
From: Phillip S. Baker [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 4:39 PM
To: PHP Email List
Subject: [PHP] Displaying Number valuesHey All, I want PHP to print out the value of a number in a variable as something like 01. However whenever I try to I only get 1. Is there a way around this? Phillip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

