Chris Wesley wrote:
The above line: I'm assuming you want to collapse $recordsarray into a sting, with the elements of $recordsarray separated by a null char. Well, you told implode() to collapse a null char into a string with the elements of null char separated by $recordsarray ... inverted the arguments to implode(). I have no idea why an error isn't raised instead of kind-of working, but anywho ....
Try switching the arguments around in the call to implode(), to: $lines = implode('',$recordsarray);
http://www.php.net/manual/en/function.implode.php
If that doesn't correct the problem you're experiencing, let us know. I have other ideas for you, but they may not be necessary if that solves it.
HTH, ~Chris
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.