Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 06-04-2002, 04:00 PM   #1 (permalink)
Tripp
Registered User
 
Tripp's Avatar
 
Join Date: Jun 2002
Posts: 4
Tripp is on a distinguished road
Talking Looking for a rating/voting script

Im looking for a rating/voting system written in php.

An example of it is - http://board.rapmusic.com/vote.php?matchid=7

Can someone show me a place where I can get a script like that, where, they have to put in a username and password, and their name will show up on the side like that one.

For free, of course
Tripp is offline   Reply With Quote
Old 06-04-2002, 04:06 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
what language and databse is the site using? php/mysql?
sde is offline   Reply With Quote
Old 06-04-2002, 06:27 PM   #3 (permalink)
Tripp
Registered User
 
Tripp's Avatar
 
Join Date: Jun 2002
Posts: 4
Tripp is on a distinguished road
php/mysql yep
Tripp is offline   Reply With Quote
Old 06-04-2002, 08:03 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
check here .. there are quite a few different ones.. i never tried any, but it still looks like a nice variety:

http://www.hotscripts.com/PHP/Script...ls_and_Voting/

good luck
sde is offline   Reply With Quote
Old 06-05-2002, 06:36 AM   #5 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
that is no fun. a poll script isnt too hard to write, just do it yourself.

Admin
__________________


Urban Clothing
Admin is offline   Reply With Quote
Old 06-05-2002, 12:50 PM   #6 (permalink)
Tripp
Registered User
 
Tripp's Avatar
 
Join Date: Jun 2002
Posts: 4
Tripp is on a distinguished road
Thats the thing. Im not very good in php, and its a challenge for me, and would take a while.. Im going to have to check out some tutorials
Tripp is offline   Reply With Quote
Old 06-05-2002, 01:57 PM   #7 (permalink)
revolution
Legend in my own mind
 
revolution's Avatar
 
Join Date: May 2002
Location: florida
Posts: 618
revolution is on a distinguished road
Send a message via AIM to revolution
im sure if you get stuck, one of us can help, thats what were here for

well that and i dont get out much
__________________
Is it me or does the word abbreviation seem a little long?


registered user #193524 with the Linux Counter,
http://counter.li.org
revolution is offline   Reply With Quote
Old 06-05-2002, 11:49 PM   #8 (permalink)
Tripp
Registered User
 
Tripp's Avatar
 
Join Date: Jun 2002
Posts: 4
Tripp is on a distinguished road
Alright, Ill get started on it asap
Tripp is offline   Reply With Quote
Old 06-10-2002, 11:14 AM   #9 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,720
redhead is on a distinguished road
I'll give a hint on how it could be done..

MySQL part:
two tables, first one
Choice:
(id, name, Poll_id, count)
second one
Poll:
(id, name)
When creating a new poll, you creat a new choice item, for every choice it should hold. set the Poll_id to reflect the id of the Poll holding the name of the poll.

When displaying the poll, have a php/MySQL statement like:
$row_poll=SELECT * FROM Poll WHERE name = "poll name";
$row_choice=SELECT * FROM Choice WHERE Poll_id = row_poll[id];

When a user selects a choice, and submits you increment the count for that Choice, and sets a cookie holding the Poll id, on next return, if the user has a cookie of the same id, as Poll_id, display a graphical result of the choices having that Poll_id, else its a new user, so display a form with the choices for that poll.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Something wrong with the view script redhead Lounge 1 10-11-2004 01:58 PM
running a script at designated time tzarin PHP 5 05-12-2004 07:11 PM
JS Script question M3GAPL3X HTML, XML, Javascript, AJAX 5 04-20-2003 09:21 PM
cgi not working on a new script sde PHP 3 05-20-2002 08:29 PM


All times are GMT -8. The time now is 01:46 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting