Re: many mysql_query() ???

From: Date: Fri, 14 Jul 2000 14:08:10 +0000
Subject: Re: many mysql_query() ???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6638@lists.php.net to get a copy of this message
Eris Ristemena, > hi all, > > how bad is the speed degradation if i use mysql_query() many times (about > more than 3 times) in one page ? I don't see 3 times pr page as a lot. I'm in the process of writing a tool for viewing articles, and I'm user it uses mysql_query around 10 times pr page you view, and I still haven't noticed it being any slower than viewing static pages. If you do use mysql_query() a lot, I suggest that you use mysql_pconnect() to make your connection as this will make the connection time to the database faster. -- Øyvind Grønnesby "Wow, I had knowledge!" --Buffy

« previous php.general (#6638) next »