但当我尝试创建模式时,它开始显示错误,如下所示:php app/console doctrine:schema:create
ATTENTION: This operation should not be executed inYou are *required* to use the date.timezone set
我是php和mysql的新手。我试图从我的数据库中显示为月和年的帖子,也计算了一个月的总帖子。我的代码在这里... $sql="SELECT YEAR(FROM_UNIXTIME(post_date)) AS EAR,MONTHNAME(FROM_UNIXTIME(post_date)) AS MONTHphp echo $row['YEAR']; ?></dt>
<dd><a hre