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. Quote 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? Quote 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   Quote 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 ... Quote 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. Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.