Re: [PHP] need to generate fixed-length file

2006-09-06 Thread Robert Cummings
On Wed, 2006-09-06 at 16:56 -0400, Karen Goeller wrote: > I'm having trouble generating a fixed-length (i.e., non-delimited) file > format out of PHP 4, based on queries out of MySQL. These files are > getting imported into a Unidata database and require a very specific > byte-mapping format.

[PHP] need to generate fixed-length file

2006-09-06 Thread Karen Goeller
I'm having trouble generating a fixed-length (i.e., non-delimited) file format out of PHP 4, based on queries out of MySQL. These files are getting imported into a Unidata database and require a very specific byte-mapping format. However, while the fopen used with length will TRUNCATE to a sp