Jump to content
  • 0

how to make this in php or in Mysql Query


Kariton Revolution

Question


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.04
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

fix on SQL but when i click the icon of Xtremetop 100 after i vote and go back to V4P i can click the Xtremetop 100 logo again how to disable the icon when i click once??

this topic that i followed http://www.eathena.ws/board/release-Vote-4-Coins-V-107-t195150.html

Edited by Kariton Revolution
Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  308
  • Reputation:   3
  • Joined:  12/18/11
  • Last Seen:  

the answer is in your post. just read your post.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi Kariton Revolution,

simplehan is right. Here's a hint:

/*************
* SQL Table
*
CREATE TABLE `vote_point` (
`account_id` int(11) NOT NULL default '0',
`point` int(11) NOT NULL default '0',
`last_vote1` int(11) NOT NULL default '0',
`last_vote2` int(11) NOT NULL default '0',
`last_vote3` int(11) NOT NULL default '0',
`last_vote4` int(11) NOT NULL default '0',
`last_vote5` int(11) NOT NULL default '0',
`date` text NOT NULL,
PRIMARY KEY (`account_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
*
*
*************/

Good luck.

Edited by Asura
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

i think he is refer to how to make a Table content in his website to show the vote information

and not the mysql table.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.04
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

fix on SQL but when i click the icon of Xtremetop 100 after i vote and go back to V4P i can click the Xtremetop 100 logo again how to disable the icon when i click once

post-467-0-69546600-1331590923_thumb.jpg

Edited by Kariton Revolution
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

you should have the unlock date data where it should be unlock like this algorithm

if unlock_date >= current_date

unlock the link

else

lock the link

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.04
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

fix on SQL but when i click the icon of Xtremetop 100 after i vote and go back to V4P i can click the Xtremetop 100 logo again how to disable the icon when i click once??

this topic that i followed http://www.eathena.w...07-t195150.html

you should have the unlock date data where it should be unlock like this algorithm

if unlock_date >= current_date

unlock the link

else

lock the link

where i can find that ??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  206
  • Reputation:   16
  • Joined:  01/03/12
  • Last Seen:  

An algorithm is just a way of solving a problem, a format of logical thinking. He was just showing you a general example of how it would kinda be done.

Edited by Shinon Yoshida
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  206
  • Reputation:   16
  • Joined:  01/03/12
  • Last Seen:  

He gave you help, an algorithm, a simple one at that. I might be able to make something as an example tomorrow, however, you need to do a lot more research on PHP, I'm not gonna simply write the code for you, you gotta learn to do it.

Link to comment
Share on other sites

×
×
  • Create New...