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

2005-06-01 Thread Richard Lynch
http://php.net/sprintf On Thu, May 26, 2005 8:35 pm, mayo said: > 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 distribut

RE: [PHP] printf() in a variable, or alternative to printf() - SOLVED

2005-05-27 Thread mayo
t Subject: [PHP] printf() in a variable, or alternative to printf() 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 distribut

RE: [PHP] printf() in a variable, or alternative to printf()

2005-05-27 Thread Jay Blanchard
[snip] 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. printf("% 4d"

[PHP] printf() in a variable, or alternative to printf()

2005-05-27 Thread mayo
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. printf("% 4d",$order