Well, I am developing Vote system where, i am selecting data from database using following code:
// Select info about vote $select_information = mysql_qu
Put comma between Date & COUNT(ID)
Date
COUNT(ID)
$today_voting_query = "SELECT DATE_FORMAT(STR_TO_DATE('$dbdate', '%d/%m/%Y' ), '%d/%m/%Y') as Date, COUNT(ID) AS countID FROM `voteslist` WHERE `VoteID` = '$VoteID' AND `Date` = '$result_date';";