would that be in a db table?
While you are looping through your resultset you can check if a field in the table is empty by doing the following
while ($row = mysql_fetch_array($result)) {
if ($row["fieldname"] == "") {
print "this field is empty";
}
}