Hey All,
Im trying to find the row that has the largest number in the count column, so i have a database, say there are 3 columns, in each of these column is a field called 'count' with different values.
How would i find the row with the biggest count value, i cant figure it out.
this is what i have so far.
$managecount_query = "SELECT counter FROM listings";
$managecount = mysql_query($managecount_query);
Everytime i put it into an array with mysql_fetch_array it just returns a value of 0 when every count field has a number thats higher than 0.
If anyone could help me out, that would be gold.
Cheers