现在,我使用下面的查询按每篇文章的auto_increment id排序我想知道如何根据我创建的存储当前日期的日期字段进行排序,strtotime()它应该查询从最新到最旧的日期。当前代码
$alist = mysql_query("SELECT * FROM articles ORDER BY id DESC
在我的应用程序中,我试图显示本月的平衡,但我无法做到这一点。// Count Current Month Income float x = 0; String getamountdata = "SELECT SUM(inc_amount) AS totalInc FROM "+ TABLE_ENTRY + " where year(entry_date)= year(CURDA