[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/feed.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/feed.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 180: Cannot modify header information - headers already sent by (output started at [ROOT]/feed.php:1)
IntegraMOD Home of phpBB Integrated Modifications 2006-07-17T18:39:06-07:00 http://integramod.com/forum/feed.php?f=37&t=1534 2006-07-17T18:39:06-07:00 2006-07-17T18:39:06-07:00 http://integramod.com/forum/viewtopic.php?t=1534&p=12015#p12015 <![CDATA[Re: Where store calculated values from several tables?]]> If you are going to store data to be retrieved only once and not use in some other process try the calculation method firstà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ it should be faster than an sql queryà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦

The calculation should be done in the in the php file that send data to the associated tpl fileà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦

If you are doing several calculations (one for each game) then you should consider saving these to the databaseà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦

Mike

Statistics: Posted Author: Michaelo — Mon Jul 17, 2006 6:39 pm


]]>
2006-07-11T07:17:07-07:00 2006-07-11T07:17:07-07:00 http://integramod.com/forum/viewtopic.php?t=1534&p=11600#p11600 <![CDATA[Where store calculated values from several tables?]]>
Now I want to keep track on statistics for the games, that is values that I get from each game that I do some calculation on. Should I store those in the additional table or should I calculate them each time I need them?

Is it possible to have a script running in the back to calculate these values and then keep storing them into the table? I fear that always calculating when I need the values would slow things down so I hope one can solve this in another way.

What do you all say about this - what should I do?

Regards
/Rixn

Statistics: Posted Author: Rixn — Tue Jul 11, 2006 7:17 am


]]>