PeterPopper Posted May 7, 2010 Share Posted May 7, 2010 Simply want to allow a user to vote once per calendar day, using MySQL to log votes. Thanks. Link to comment https://forums.phpfreaks.com/topic/200963-if-today-do-this-else-do-that/ Share on other sites More sharing options...
dezkit Posted May 7, 2010 Share Posted May 7, 2010 Mysql structure? Link to comment https://forums.phpfreaks.com/topic/200963-if-today-do-this-else-do-that/#findComment-1054394 Share on other sites More sharing options...
PeterPopper Posted May 7, 2010 Author Share Posted May 7, 2010 timestamp Link to comment https://forums.phpfreaks.com/topic/200963-if-today-do-this-else-do-that/#findComment-1054396 Share on other sites More sharing options...
dezkit Posted May 7, 2010 Share Posted May 7, 2010 ... Link to comment https://forums.phpfreaks.com/topic/200963-if-today-do-this-else-do-that/#findComment-1054398 Share on other sites More sharing options...
PeterPopper Posted May 7, 2010 Author Share Posted May 7, 2010 dezkit, I thought you wanted the MySQL date entry format. Did you want to see the entire database structure? I only want to check the voted date from the database and compare it with today's date in PHP. Link to comment https://forums.phpfreaks.com/topic/200963-if-today-do-this-else-do-that/#findComment-1054402 Share on other sites More sharing options...
PeterPopper Posted May 7, 2010 Author Share Posted May 7, 2010 I figured it out. Link to comment https://forums.phpfreaks.com/topic/200963-if-today-do-this-else-do-that/#findComment-1054415 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.