Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > Classic ASP

Closed Thread
 
LinkBack Thread Tools
Old May 20th, 2004, 03:39 PM   #1
Highly Reputable Member
 

Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 courtjester is on a distinguished road
Rating system...

Ok, here's the thing, I Am creating a rating system for a site, where you can pick a band, listen to some samples, read their bio, and then rate them on a scale of 1-5 . 1 being sucky and 5 being good . . Well to do this, would I need to just set the code to add each row together then divide by total # of rows? Would that work to get me an average? Or is there a better/easier way of doing this? Just trying to save me a little time.
courtjester is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old May 21st, 2004, 05:18 AM   #2
Highly Reputable Member
 

Join Date: Jul 2003
Location: Ipswich, UK
Posts: 686
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Smokie will become famous soon enough
Well if you want to save time, just go to APSIN.com and search for a rating system which someone else has already written!
Smokie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old May 22nd, 2004, 08:36 AM   #3
Most Reputable Member
 
spinal007's Avatar
 

Join Date: Mar 2004
Location: Good Ol'London
Age: 24
Posts: 1,684
Blog Entries: 1
Thanks: 1
Thanked 4 Times in 4 Posts
Rep Altering Power: 0 spinal007 has a spectacular aura about spinal007 has a spectacular aura about
smokie's option is fine, but if you want to make it yourself design a table that will store all the scores as different records:
eg.
band - score
'linkin park' - 5
and so on...

then use the AVG SQL statement to retrieve the average score
something like: SELECT AVG(score) AS average_score FROM Feedback_Table WHERE band='band name'
spinal007 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Bookmarks

Tags
rating , system


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spinal007 - Anyone recommend a good rating/star rating script? sing2trees PHP 17 June 8th, 2008 05:23 PM
Rounding & Rating System. Jack Franklin PHP 4 February 20th, 2008 02:12 PM
Please help, 2 way feedback rating system marie2007 PHP 0 September 12th, 2007 09:25 PM
Poll/Rating System lexxweb JavaScript 1 December 9th, 2006 05:27 PM


Search Engine Optimization by vBSEO 3.2.0 RC8