RE: [PHP] Displaying Number values

From: Date: Mon, 04 Mar 2002 05:44:53 +0000
Subject: RE: [PHP] Displaying Number values
Groups: php.general 
Request: Send a blank email to php-general+get-87042@lists.php.net to get a copy of this message
printf("%02i", $num); should work -----Original Message----- From: Phillip S. Baker [mailto:phillip@freewolf.net] 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 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

« previous php.general (#87042) next »