0
각 행에 대해 빈 행을 반환하는 MYSQL 쿼리를 반환했습니다.타임 스탬프별로 그룹화 MYSQL 빈 행을 출력
데이터가 반향하지 않지만 행이 있습니다. 왜 이런 일이 일어나는지 모르겠습니다.
왜 제대로 작동하지 않습니까?
SELECT date(datetime) AS datetime, sum(row_total) AS row_total
...
또는 $row6x[0]
및 $row6x[1]
를 사용
MySQL의/PHP
$sql6x = " SELECT date(datetime), sum(row_total)
FROM sales_tickets
GROUP BY date(datetime);
";
$result6x = mysql_query($sql6x);
while ($row6x = mysql_fetch_array($result6x)) {
echo $datetime = $row6x['datetime'].$br;
echo $row_total = $row6x['row_total'].$br;
}
완벽한, 감사합니다. 정확히 내가 잃어버린 것. – Derple