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
Thx,
It's amazing how sleep helps. Couldn't believe that when I read
sprintf() I didn't see how it did exactly what I was looking for.
Thx all
mayo
-Original Message-
From: mayo [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 26, 2005 11:35 PM
To: php-general@lists.php.net
Subject: [PHP]
[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"
3 matches
Mail list logo