ranking coding

Links for php scripts

Moderators: macek, egami, gesf

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

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
gesf
Moderator
Moderator
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

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
CHUBBYCAT
New php-forum User
New php-forum User
Posts: 53
Joined: Mon Jun 21, 2004 7:08 am
Contact:

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

um, I said RANKING not rating

but thanks though

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

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
CHUBBYCAT
New php-forum User
New php-forum User
Posts: 53
Joined: Mon Jun 21, 2004 7:08 am
Contact:

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
gesf
Moderator
Moderator
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

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

My bad CHUBBYCAT!


Return to “PHP Scripts”

Who is online

Users browsing this forum: Google [Bot] and 1 guest