dovresti variare la riga con
Codice PHP:
$n = @mysql_num_rows($co); 
inoltre potresti usare SELECT COUNT(*)