Board index   FAQ   Search  
Register  Login
Board index PHP PHP Scripts

ranking coding

Links for php scripts

Moderators: macek, egami, gesf

ranking coding

Postby CHUBBYCAT » Thu Mar 17, 2005 7:20 pm

How can I code ranking? the info is
User
Dpoints
Percent
Time Submitted

how could I program that?
User avatar
CHUBBYCAT
New php-forum User
New php-forum User
 
Posts: 53
Joined: Mon Jun 21, 2004 7:08 am

Postby gesf » Thu Mar 24, 2005 6:02 pm

Here you have a great tutorial on how to build a rating system.

Cheers
User avatar
gesf
Moderator
Moderator
 
Posts: 1718
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden

Postby CHUBBYCAT » Fri Mar 25, 2005 6:32 am

um, I said RANKING not rating

but thanks though
User avatar
CHUBBYCAT
New php-forum User
New php-forum User
 
Posts: 53
Joined: Mon Jun 21, 2004 7:08 am

Postby WiZARD » Fri Mar 25, 2005 6:41 am

CHUBBYCAT wrote:um, I said RANKING not rating

but thanks though

add new field in your db table and check then read record from table....
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Postby CHUBBYCAT » Fri Mar 25, 2005 7:21 am

well i have some worded code to help out with my problem

if the user submitted a score that is equal to another user but submitted at an ealier time
the first user will have a higher rank than than the other
else user submitted score greater than another user give higher rank
else user submitted score lesser than another user give lower rank
User avatar
CHUBBYCAT
New php-forum User
New php-forum User
 
Posts: 53
Joined: Mon Jun 21, 2004 7:08 am

Postby gesf » Sat Mar 26, 2005 4:10 am

My bad CHUBBYCAT!
User avatar
gesf
Moderator
Moderator
 
Posts: 1718
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden


Return to PHP Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron