View Full Version : Help for give users gp when they vote?
The WIZ
October 6th, 2010, 01:07
Im stuck on this.
Now, open PhpMyAdmin you probably have it, if you don't ask your host to configure it for you. In PhpMyAdmin, open the newly created database and run this SQL query on it
CREATE TABLE IF NOT EXISTS `votes` (
`username` char(50) DEFAULT NULL,
`ip` char(50) DEFAULT NULL,
`time` int(50) DEFAULT NULL,
`recieved` int(1) DEFAULT NULL
)
How do I do that im new to phpmyadmin.
Surreal
October 6th, 2010, 01:21
It requires a much longer process...
Edit: I can't help you at the moment cause I'm rather busy.
If I have time later I will
The WIZ
October 6th, 2010, 01:27
May I have your msn so we can talk.
Also if you need the webhost name, its 000webhost.
Smudge
October 6th, 2010, 01:59
I got so bored I even took the time to do a small image tutorial on this for you - easier than it looks:
Only the registered members can see the link.
Surreal
October 6th, 2010, 02:10
I got so bored I even took the time to do a small image tutorial on this for you - easier than it looks:
Only the registered members can see the link.
Haha very nice Smudge :D
But I think he also wants to script to record when someone clicks a link to go and vote
The WIZ
October 6th, 2010, 02:49
Thanks Smudge!
When I try to like click vote this is the error I get.
Parse error: syntax error, unexpected T_STRING in /home/a5358033/public_html/vote.php on line 76
What do I edit.
Surreal
October 6th, 2010, 02:54
Ok, add my msn n.1.c.k@windowslive.com.
I will help you from there.
The WIZ
October 6th, 2010, 03:35
Ok thanks I will. :)
Daedalus
October 6th, 2010, 06:41
Thanks Smudge!
When I try to like click vote this is the error I get.
Parse error: syntax error, unexpected T_STRING in /home/a5358033/public_html/vote.php on line 76
What do I edit.
Go to line 76 and copy and paste what it says.
Surreal
October 6th, 2010, 09:28
Don't worry about this it was a simple error where the quote did not close.
He now is just having trouble connecting to his database. Should all be fixed when he's next on.
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.