PHP interesse |
|
dan krijg ik: Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
code:
$qlogin = mysql_query("SELECT *,
COUNT(*) AS aantal
FROM leden
WHERE username = '".$username."'
AND password = '".$password."'") OR DIE(mysql_error());
$login = mysql_fetch_array($qlogin);
COUNT(*) AS aantal FROM leden WHERE username = '".$username."'
|