Basterebbe un'occhiata anche veloce al manuale!!! Perchè scrivete codice così a caso?!?!

mysql_num_rows()