I'm not exactly sure what is causing the behavior, but I suspect its either a timing or memory issue. My development machine is stronger than the server the code is being deployed on which is what leads to me to suspect one of the above problems. I have a function that creates a very large html table from several sql calls. It returns the table as a string to the calling page, which then displays it. This table currently has a max size of about 45Kb with larger html tables possible. On my production machine everything went fine. On the server the table ends early. But the loops runs to the end, apparently it stops concatenating at some point. To get around this I tried splitting the single string into an array of strings with each cell in the array holding one row of the table, with two additional rows holding the table/heading tags and close table tags. Once again everything works on the development machine. On the server however, in two locations the table rows are corrupted. In one case it ends the row early (an echo of the value before it is assigned to the array is correct). In the other case it concatenates two rows, which is similarly not supported by my debug echo's. Neither case is a boundary case, occurring in the later half of the table. Can anyone offer any advice? Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]