Hallo
mit diesem Query:
Hab ich kein Glück 
Denn immer wieder bekomme ich den selben Fehler:
Kann mir jemand helfen ?
mit diesem Query:
PHP-Code:
$query = "
select
$spalte,
count($spalte) as anzahl,
min(id) as dieser_nicht
from $tabelle
group by $spalte
having anzahl > 1
";

Denn immer wieder bekomme ich den selben Fehler:
Code:
*************************************************************** You have an error in your SQL syntax near ' count() as anzahl, min(id) as dieser_nicht from webspaceusers group by having ' at line 3 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/web29/html/filter.php on line 32 ***************************************************************

Kommentar