If your Database is big, avoid loops which goes to whole the DB.

This is just one thought.

DT
----- Original Message ----- 
From: "hassan xaaji" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 15:36
Subject: [PHP] my php script is very slow. help?


> 
> 
> Hi all
> 
> I have Linux/PHP/MySQL. Some of my script really run
> very slowly. painfully slow. All data are fetched from
> the database. The tables in database are indexed.
> Still  some scripts are very slow. I am using nested
> while and for loops. Any idea how to make them faster?
> 
> What should I avoid in my scripting?
> 
> thanks all
> 
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
> 
> -- 
> 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]
> 
> 


-- 
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]

Reply via email to