RE: [PHP] Displaying Number values

2002-03-03 Thread Martin Towell
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 values Hey All, I want PHP to print out the value of a number in a variable as

[PHP] Displaying Number values

2002-03-03 Thread Phillip S. Baker
Hey 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