Re: [PHP] adding 'vote' mechanism

2002-02-23 Thread Erik Price
On Saturday, February 23, 2002, at 02:42 PM, Nick Wilson wrote: I'd like to add a simple 'thumbs up, thumbs down' vote mechanism to it. The (simplified) table looks like this: id | authId | title | tip The only way I've come up with so far is to add two more fields (thumbs_up and

Re: [PHP] adding 'vote' mechanism

2002-02-23 Thread Steven Walker
I personally prefer voting mechanisms that display how many votes have been cast. If you keep the thumbs_up separate from thumbs_down, you can figure the total number of votes. Otherwise, you will not be able to know whether the author is *really* average or just never voted for. Steven J.