Originally posted by tsinka
Hi,
how does the code look like ?
dont have any code yet. not sure where to begin, because ive run into another problem.
but first, back to the original question..
the numbers come from a database field so as people add review ratings (1 to 5) the database will add more numbers to be averaged.
so what i was thinking i would do (and please correct me if im wrong), would be to just get all the numbers from each review into in big string (ie, 1342543234) where each number is a seperate review, then i was thinking i would have to split that down into each individual number into an array and then i could just add them all together and devide by the total number of array items to get the average.
hows that sound?