Re: Problem with either timing or large data structures...

From: Date: Sat, 10 Mar 2001 02:19:13 +0000
Subject: Re: Problem with either timing or large data structures...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43277@lists.php.net to get a copy of this message
Are magic quotes different on the two machines? 45K is not that big. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: "Eric Nielsen" <ericnielsen@earthlink.net> Newsgroups: php.general Sent: Tuesday, March 06, 2001 4:19 PM Subject: [PHP] Problem with either timing or large data structures... > 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#43277) next »