It seems very odd to me that you are retrieving several rows of data and printing (not appending) that to a single file handle.
Ignore this, you *ARE* appending to the file, and anyway, from your SQL, I doubt you are returning more than one row of data.
In reply to Re^2: Retrieve file BLOB from SQL Server 'Image' field type
by monkey_boy
in thread Retrieve file BLOB from SQL Server 'Image' field type
by porg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |