我正在敲我的头一点点strtotime,并试图找出如何得到我需要实现的。 生病写在逻辑我不需要我需要的PHP。 $today = today
$lastUpdated = query from DB
if today is >= $lastUpdated(next week)
do something
else do something else
基本上只允许有人每周提交一次表格,
如果现在是2016年2月10日 我需要返回2015年7月1日(或2015年7月10日) strtotime('july'); // returns 2016-07-10
strtotime('last july'); // does not work
strtotime('july 2015'); // I have not '2015' for query.
//Only if compa