Zepo. Posted December 9, 2007 Share Posted December 9, 2007 Would this work? $canchallenge=date("YmdHis",time()-60*60*$config[wartime]); if(mysql_num_rows(mysql_query("SELECT reported FROM matchdb WHERE wid='{$_COOKIE['user']}' AND lid='$login[cid]' AND reported > '$canchallenge' OR wid='$login[cid]' AND lid='{$_COOKIE['user']}' AND reported > '$canchallenge'"))){ error("You may only war a clan every $config[wartime] hours."); } Quote Link to comment https://forums.phpfreaks.com/topic/80928-solved-ohh-yaay-date-questions/ Share on other sites More sharing options...
cooldude832 Posted December 9, 2007 Share Posted December 9, 2007 sure try and it and see Quote Link to comment https://forums.phpfreaks.com/topic/80928-solved-ohh-yaay-date-questions/#findComment-410562 Share on other sites More sharing options...
Zepo. Posted December 9, 2007 Author Share Posted December 9, 2007 Nvm works now. Quote Link to comment https://forums.phpfreaks.com/topic/80928-solved-ohh-yaay-date-questions/#findComment-410577 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.