Ah, first of all I thought you meant 10 rows, so if you did
SELECT count(name), count(number), count(email) FROM table;
And they all weren't 10 then you knew the table had gaps in it - ok, then I think you want something like this
$emptyFields = 0;
$q = "SELECT * FROM table";
$res = mysql_query($q);
while ($row = mysql_fetch_row($res) )
{ // check each field in the row to see if it's empty
foreach ($row as $value)
{
if ($value === '') // assuming you're just looking for empty strings and zeroes are ok
{
$emptyFields++;
}
}
}
if ($emptyFields == 0)
{
// do your email saying good things abound
}
else
{
echo 'Oh dear, there are ', $emptyFields, ' fields not filled in';
}