[PHP] Re: problem writing \t and } tp text files

2003-08-20 Thread Tan Ai Leen
I think it is because I used the wrong mode for editing the file. x+ merely write over existing data in a file, does not truncate. The } could be residue from previous writes. Using w+ solves the problem. ;> Regards, Tan Ai Leen -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: problem writing \t and } tp text files

2003-08-20 Thread DvDmanDT
Can you post a short code snippet please? Miht have to do with {$arr[0]} style syntax... Try \t\t\t\t\t\} instead.. although, I don't really know if this matters, just a though that came to my head... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Tan Ai Leen" <[EMAIL PROTECTED]>