You are here: Re: [PHP] Tired and feeling dumb...maths question.... « PHP « IT news, forums, messages
Re: [PHP] Tired and feeling dumb...maths question....

Posted by Ezra Nugroho on 10/21/08 11:21

The result should be between 1 - 5.

Can you clarify the following:
> Basically, I have these two fields:
> $pic_no_of_votes
> $vote_total_pts

What do they hold? Sums or individual votes?

> and this totals them up and keeps the average:
> $average_pts
>
> people vote on a scale of 1-5, so the average should be between 1-5 (right??
> am not even sure of this!)

Be clear, help us help you.

 

Navigation:

[Reply to this 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

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