any ideas where i am going wrong ? the db has around 1000 records in about 81 area categories
the following does group the records okay but also creates another blank entry for every other record in the db ??? making the file size 1.5mb !! and my little 24mb server run like a snail !!
<?
$resultx = mysql_query("SELECT * FROM ukd GROUP by 'AREA'");
$listx = mysql_num_rows($resultx);
while ($ix < $listx) {
$rowx = mysql_fetch_array($resultx);
$areax = $rowx["AREA"];
print"<tr>";
print"<td>$areax</td>";
print"</tr>";
$i++;
}
?>
would i be easier to set up another table that would just pull out the AREA count etc ? the db could increase easily to 4000+ records
any help once again greatly appreciated, even to add a group field count ?