This question shows research effort; it is useful and clear
-4
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
$results=mysql_query("SELECT count(*) as total FROM new where date>'$date' and erisim='1' group by date_format(tarih,'%Y-%m') ");
$array=mysql_fetch_array($results,MYSQL_ASSOC);
echo $array[''];
$results=mysql_query("SELECT count(*) as Total FROM new where year(date)='$ss' and erisim='1' group by date_format(tarih,'%Y-%m') ");
while ($row = mysql_fetch_array($results, MYSQL_ASSOC)) {
echo $row["Total"] ;
}