How to make ratings?
Posted: Fri Mar 27, 2009 8:48 am
Hello
I'm trying to make a ratings system for a website and I'm having some trouble with it. I can definetly make the ratings work if I knew how to store the ratings. Should I store them in a mySql database? And If so, how? do I make a table with 1000 entries and gradually put in the ratings that come in one by one and hope noone rates something more than a 1000 times? (<-- i know this sounds stupid). Or can I somehow store multiple ratings in one entry of a table?
To rate, there will be a form with with 6 radio buttons for 0,1,2,3,4,5
Thanks
I'm trying to make a ratings system for a website and I'm having some trouble with it. I can definetly make the ratings work if I knew how to store the ratings. Should I store them in a mySql database? And If so, how? do I make a table with 1000 entries and gradually put in the ratings that come in one by one and hope noone rates something more than a 1000 times? (<-- i know this sounds stupid). Or can I somehow store multiple ratings in one entry of a table?
To rate, there will be a form with with 6 radio buttons for 0,1,2,3,4,5
Thanks