IRC guru |
|
Maak deze lijn:
$result1 = mysql_db_query($database, "select refid,aankomst, sum(payment) as payments, count(payment) as salescount from sales WHERE aankomst =< '$date' group by refid ORDER BY date");
$result1 = mysql_db_query($database, "select refid,aankomst, sum(payment) as payments, count(payment) as salescount from sales WHERE aankomst =< '$date' group by refid ORDER BY date");
dit:
$result1 = mysql_db_query($database, "select refid,aankomst, sum(payment) as payments, count(payment) as salescount from sales WHERE aankomst =< '$date' group by refid ORDER BY date") or die(mysql_error());
$result1 = mysql_db_query($database, "select refid,aankomst, sum(payment) as payments, count(payment) as salescount from sales WHERE aankomst =< '$date' group by refid ORDER BY date") or die(mysql_error());
En laat dan zien wat je krijgt |