RE: [PHP] Array usage affecting server

From: Date: Fri, 10 May 2002 13:49:29 +0000
Subject: RE: [PHP] Array usage affecting server
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96928@lists.php.net to get a copy of this message
Are you loading the entire result set of the query into an array, or just row by row? ---John Holmes... > -----Original Message----- > From: Kevin Meredith [mailto:kevin@atom.co.za] > Sent: Thursday, May 09, 2002 11:48 PM > To: PHP > Subject: [PHP] Array usage affecting server > > Hi. > > When a database query is done and the results are put into an array, what > are the resources used? I name all arrays differently and was wondering > how > it would affect the performance of the server if many people connected > with > many arrays being full. I am assuming the array gets 'dropped' when you > connect to another page but if I keep on the same page using PHP_SELF? > > Basically I am just trying to find out what is the best way of using > arrays > without using all the servers resources. > > Thanks > Kevin > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#96928) next »