RE: Whats wrong with this php code?
Why are you ordering your results by the number of rows?
The order by should just be id of you want to order it by that column. Don't try to order it by a number that will likely not exist as a column
$query_tags = mysql_query("SELECT id, name FROM pp_tags GROUP BY name ORDER BY id DESC LIMIT 0,50");
This post was edited on 01-02-2008 at 11:42 PM by Ezra.
|