Forgot Password / Register
Site Statistics
Total Members: 520
Total Tutorials: 242
Newsest User: 8884244477
Todays Unique Hits: 215
0 Users 2 Guests Online
Forum Index » PHP + MySQL » [REQ] Rep system
Posted on Wednesday 2nd January 200 at 10:06 PM
new2old
templates/default/images/noavatar.png's Avatar
Junior Member
ok, ive started making a reputation system for the usersystem but i cant figure out how to right the power from the points.

I want the power to generate from the points so say i set rep power one to be between 0 and 100 then rep power 2 to be 100 to 200 and so on

I cant figure out how to write it without writing

PHP Code
1
2
3
if ($logged[points] == 1) {
echo "Rep power 1";
}

for every number upto say 1000

I have tried

PHP Code
1
2
3
4
5
if ($logged[points] >100){

and ive tried it as

if ($logged[points] <0 && $logged[points] >100) {


but it only shows the rep power when it is either 0 or 100

any help?

thanks
Posted on Saturday 2nd February 200 at 05:27 PM
new2old
templates/default/images/noavatar.png's Avatar
Junior Member
never mind fixed it