PHP Rating System
- Started
- Last post
- 18 Responses
- bigredmailbox
Hi i am in the makings of an xBox360 website and i need some help i am trying to make a PHP rating system. Please help. Thanks in advance.
- st33d0
code:
- bigredmailbox0
Okey! Any Different Help?
- st33d0
bastard, Its in a php tag, i'll try again.
$ur = $_GET['lame'];
switch($ur){
case 1:
echo "You are quite lame";
break;
case 2:
echo "You are super lame";
break;
case 3:
echo "You are uber lame";
break;
default:
echo "please click";
echo 'You are quite lame';
echo 'You are super lame';
echo 'You are uber lame';
break;
}
- bigredmailbox0
Soz wrong message!!
Whats the code???
- st33d0
fuck it. There's probly someting on my scripts page that might help:
http://www.robotacid.com/assets/…
otherwise, ne'ermind
- bigredmailbox0
I am looking for somthing more like you submit a rate and then it gives you an average of what people have voted but while keeping you on the same page:
If you look to the right of this page you will see what i mean:
- st33d0
That doesn't keep you on the same page. It also logs your IP I think.
You would save the stuff to text file or database. Then just update the total vote and log the IP or cookie.
Beyond me though.
Good luck.
- bigredmailbox0
SomeOne Please Help!
- bigredmailbox0
Please
- cosmo0
Ok. What do you need help with?
- Nairn0
BRM - do you know php?
first search result from google for 'php ratng system' yields this: http://www.phpfreaks.com/tutoria…
which would seem to do the trick - or are you looking for something really easy, to just 'plug in'?
- bigredmailbox0
Hi,
Well what i am making is a Xbox 360 site and i need a rating thing for each game much like the one on the right hand site here:
- Nairn0
yes, i can see that - what i am asking is - are you comfortable with php (in which case, you can use the code i linked to intergrate with 'whichever DB' you are using)?
what's your content platform?
- bigredmailbox0
i know some php but i would still call myself a begginer
- Nairn0
well, either you get your hands a little dirty and do it yourself - or, if you're using a CMS (etc) then you may be able to find a plug in.
a search for 'easy php rating system' in google yielded..
http://php.about.com/od/finished…
http://www.gr0w.com/articles/cod…
- bigredmailbox0
YAY! Thanks dude!
Woooooot!
- Nairn0
Don't thank me - thank our old friends Larry and Sergey.