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."); } 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 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. 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
Archived
This topic is now archived and is closed to further replies.