Re: printf() in a variable, or alternative to printf()

From: Date: Fri, 27 May 2005 10:23:49 +0000
Subject: Re: printf() in a variable, or alternative to printf()
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-39555@lists.php.net to get a copy of this message
On Friday 27 May 2005 04:49, mayo wrote: > I need to be able to format data. > > Printf() is perfect because I need a certain amount of characters (30 > for address). > > However I need this formatted data to be inside a file that's fwrite() > and then FTPed to a distributor who will parse it and input into their > database. Use sprintf see: http://uk2.php.net/manual/en/function.sprintf.php Si -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Simon Rees  |  tech-lists@zodiac2000.co.uk  | ORA-03113: end-of-file on communication channel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

« previous php.db (#39555) next »