Jump to content
  • 0

how to make this in php or in Mysql Query


Question

10 answers to this question

Recommended Posts

Posted (edited)

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
Posted

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

Posted

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 ??

Posted (edited)

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
Posted

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...