Reply to Re: Timer

Your name:

Reply:


Posted by Jerry Stuckle on 05/29/06 17:09

scuniverse@gmail.com wrote:
> The script is rather big... there's like 600 lines, however it's quite
> simple.
>
> At the beggining there's a select mysql query and afterwars a while
> loop, on the loop there's 3 possible cases and each one has 2 select
> and 3 update mysql query, in between the 2 select and 3 updates there's
> a bunch of basic maths and that's pretty much everything.
>
> When I run it manually it output a lot of division by zero errors but
> no other error
>

Well, a lot of division by zero errors tells me there's a lot of sloppy
programming there, and anything could be happening.

But in addition to that - there is no way anyone can tell you what's going on
without detailed knowledge of what you're doing in the loops. I suggest you cut
down the amount of code in the slow loops until you locate the specific line(s)
of code causing the problem.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация